apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: [PATCH] LFS support for 1.0, take 2
Date Wed, 24 Mar 2004 14:57:27 GMT
On Mon, Mar 22, 2004 at 05:14:43PM -0500, Jeff Trawick wrote:
> Joe Orton wrote:
> >Updated patch attached, thanks for the feedback so far...
> >
> >TODO:
> >
> >* hook up Solaris sendfilev64 if necessary
> 
> looks necessary...  dunno if there was a Solaris with sendfilev but no 
> sendfilev64 such that we'd have to thunk... for now I have this just for 
> playing in the Solaris sendfilev() interface:
> 
> #if APR_HAS_LARGE_FILES /* && defined(HAVE_SENDFILEV64) */
> #define sendfilevec_t sendfilevec64_t
> #define sendfilev sendfilev64
> #endif

Thanks, added that too with the configure check for sendfilev64.  Take 3
is about ready to be committed, I think.

TODO:

* test the sendfile thunks work
* adjust ssize_t rc handling for HP-UX sendfile64 case

CHANGES:

* have apr_file_mktemp use mkstemp64 where available
* use CuNotImpl rather than fail testlfs when the truncate gets E2BIG
  (usually due to rlimit or fs limits)
* sendfile foo:
 - Solaris: sendfilev64 + adjusted casts
 - Linux: sendfile64 or thunk
 - HP-UX: sendfile64 or thunk
 - AIX: Just Works
* add -D_LARGEFILE64_SOURCE automagically
* drop readdir64_r()/readdir64() support as it's not a necessary part
of this change, and the Solaris readdir64_r() is weird.
* support configure --disable-lfs and simplified checks
* unbreak Netware
* unbreak platforms with 64-bit native off_t

Mime
View raw message