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: [EMAIL PROTECTED] Remember Cernan and Schmitt -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html