On Wed, Nov 02, 2005 at 11:49:15AM +0000, Colm MacCarthaigh wrote:
> On Wed, Nov 02, 2005 at 11:38:17AM +0000, Joe Orton wrote:
> > > 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?  
> 
> Hmmm, no, it's 8. As is size_t. I'm going back to scratch at looking at
> what's up with gdb.

O.k., it seems sendfile() is buggy and really doesn't support files >2Gb
on Linux on IA64, at least with my kernel (2.6.12.1). 

   sendfile(10, 11, [0], 4686706688)     = -1 EINVAL (Invalid argument)

Messing with defines sufficiently that APR uses sendfile64() is no help,
and ends up back at the same system call anyway. 

Anyone else got an IA64 Linux box they can confirm this on?

-- 
Colm MacCárthaigh                        Public Key: [EMAIL PROTECTED]

Reply via email to