Dan Raymond wrote:
> I have been experimenting with the rsync.exe that comes with MSYS and it
> seems to work for the most part. However, it doesn't handle files
> correctly that are larger than 2GB. Is this a known issue?
whi filesystem are you on? is this a 32bit build? That's sounds a lot
like a 32-bit limitatio nsomewhere in the chain. It should be 4G but
ends up being 2GB usually.
From: George Koehler <xkernigh@ne...> - 2014-03-13 00:58:38
On 3/11/2014 7:58 AM, Riccardo Mottola wrote:
> That's sounds a lot like a 32-bit limitatio nsomewhere in the chain.
> It should be 4G but ends up being 2GB usually.
Not a compiler problem. A 32-bit gcc can use 64-bit integers.
The problem is that MSYS defines off_t as a 32-bit integer . Because
off_t has a sign bit, the maximum file size is 2GB - 1. There is no way
to fix this without breaking compatibility in MSYS: one who changes
off_t to 64-bit would also need to recompile all programs that use MSYS.
I can rsync a 2.2G file with MSYS2
<http://sourceforge.net/projects/msys2/>, so MSYS2 must have fixed this.
 See 'typedef long off_t;' in
Get latest updates about Open Source Projects, Conferences and News.