bug 1110812 - 4Gigbug.patch does not work in Windows
Sekar Vembu <[email protected]> Mon, 20 Mar 2006 11:55:09 +0530
| Newsgroups | gmane.network.librsync.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, This is regarding the 4Gigbug.patch for the bug request id: 1110812. This patch works well in Linux for file sizes more than 4GB. But the large file problem (greater than 4GB) still exists in Windows. I think here is what is happening. The fseek in rs_file_copy_cb() method of buf.c still throws an error when the seek is beyond 4GB. We tried changing the fseek to _lseeki64 and typedefinition of rs_long_t to __int64. But the problem is still there. We do not know how to get fseek to work for large files (>4GB) in Windows. The error thrown in librsync while applying the delta is : librsync: ERROR: (librsync) seek failed: Invalid argument librsync: ERROR: (librsync) patch job failed: IO error Can someone help with this. Thanks Sekar. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642