[ANNOUNCE] VDR developer version 1.7.3

Message ID 20090112101649.GA3272@gmail.com
State New
Headers

Commit Message

Grégoire Favre Jan. 12, 2009, 10:16 a.m. UTC
  On Mon, Jan 12, 2009 at 10:27:42AM +0100, jean-paul@goedee.nl wrote:

> What must I do to make it work with 64bits system?  I?m a simple user  
> with no coding experience.

Could you post your error, I am under x86_64 and only patch I needed was
one found on vdrportal.de :



(Well I also use patch to allow more features...).
  

Patch

--- tools.c     2009-01-06 23:09:35.000000000 +0100
+++ tools.c.mod 2009-01-06 23:09:43.000000000 +0100
@@ -1608,7 +1608,7 @@ 
               // kind of write gathering enabled), but the syncs cause (io) load..
               // Uncomment the next line if you think you need them.
               //fdatasync(fd);
-              off_t headdrop = min(curpos - totwritten, off_t(totwritten * 2));
+              off_t headdrop = min(off_t(curpos - totwritten), off_t(totwritten * 2));
               posix_fadvise(fd, curpos - totwritten - headdrop, totwritten + headdrop, POSIX_FADV_DONTNEED);
               totwritten = 0;
               }