On Wed, Nov 02, 2005 at 11:31:26AM +0000, Colm MacCarthaigh wrote: > I think you're right, and I think I've found the source of the problem: > apr's network_io/unix/sendrecv.c has: > > #if APR_HAS_LARGE_FILES && defined(HAVE_SENDFILE64) > apr_off_t off = *offset; > #define sendfile sendfile64 > > #elif APR_HAS_LARGE_FILES && SIZEOF_OFF_T == 4 > /* 64-bit apr_off_t but no sendfile64(): fail if trying to send > * past the 2Gb limit. */ ... > and it's the latter branch that gets trigged on IA64
How have you managed to get SIZEOF_OFF_T == 4 as true on IA64? Can you upload the APR config.log somewhere? joe
