[ANNOUNCE] VDR developer version 1.7.3
Commit Message
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...).
@@ -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;
}