On Fri, 31 May 2002, Stas Bekman wrote:

> But isn't this ifdef test one sided? i.e. you test only if perl was 
> compiled with USE_LARGE_FILES, but not APR. Shouldn't it be:
> 
> #ifdef USE_LARGE_FILES && !APR_HAS_LARGE_FILES

didn't know there was an APR_HAS_LARGE_FILES
 
adjusted to not croak if APR_HAS_LARGE_FILES is true.
 
> is there some workaround for this problem? or the only solution is to 
> make sure that users compile both with largefiles support? If not, does 
> it mean that it renders APR::PerlIO::seek useless, since the code is 
> becoming not portable?

not sure if there is a portable workaround.  are largefile size Off_t 
simply cannot fit into a non-largefile size apr_off_t.
but am sure we cannot force that apr be compiled with largefile support, 
nor can we force perl to be compiled with largfile support disabled.
not too worried about it at the moment.  focusing on getting the tests to 
pass on all platforms, APR::PerlIO::seek is a nice-to-have, but not a 
requirement.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to