Pb w/ >2GB files on AIX (4.3.3/5.1)
jw schultz
jw at pegasys.ws
Wed Feb 12 05:42:00 EST 2003
On Tue, Feb 11, 2003 at 03:18:00PM +0100, Dean wrote:
>
>
>
> I have discovered that rsync 2.5.6 uses the mkstemp() routine wich do
> not have a 64bits version into the AIX libc.
mkstemp should have no need of a 64bit version. Why is this
an issue?
> 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)
If AIX doesn't have a secure mkstemp the logic determining
that should be in configure where HAVE_SECURE_MKSTEMP is
defined. It should not be grafted on here. Given that the
"s" in mkstemp stands for "secure" an insecure mkstemp would
be broken :)
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync
mailing list