perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject Re: uselargefiles
Date Sun, 31 Dec 2000 18:35:56 GMT
On Wed, 27 Dec 2000, Daniel Jacobowitz wrote:
 
> I assume that if Apache is built with LFS, we do need them (though I
> think apxs will take care of that).  What about if perl is - can we
> really get away without not using LFS when perl is?

we can get away with it because Perl never passes lfs related structures
to extensions.  so the sizeof(struct stat) for example can be different
inside core Perl without causing problems in mod_foo land.  unlike when
mod_perl is compiled with lfs flags, the sizeof(struct stat) is larger,
which changes the sizeof(request_rec), which is passed between apache and
mod_*
 
> Debian's spent a couple of weeks tracking down the problems enabling
> LFS in apache caused various modules (primarily PHP), and we've gotten
> most of them now, so I'd hate to back down again.

php has simply fixed their apxs cflags filter to include any ^-D flags,
nothing specific to lfs.  i will need to query apxs for lfs flags if
USE_APXS=1 and turn them back on in mod_perl if present.  

thanks everybody who tested!


Mime
View raw message