Pb w/ >2GB files on AIX (4.3.3/5.1)

Dean dean at dacunha.net
Wed Feb 12 01:18:00 EST 2003




I have discovered that rsync 2.5.6 uses the mkstemp() routine wich do
not have a 64bits version into the AIX libc.

A very simple workaround to the big files writing rsync pb. is to not
use this routine that create files w/ mkstemp() by modifying the
"syscall.c" source file at line 154 as following :

#if defined(HAVE_SECURE_MKSTEMP) && defined(HAVE_FCHMOD)
become
#if defined(HAVE_SECURE_MKSTEMP) && defined(HAVE_FCHMOD) && !
defined(_AIX)


Hope this will help poor AIX users ;-)


Dean, 
a nostalgic Digital Unix veteran.
Digital/Tru64 Unix don't care big files !



More information about the rsync mailing list