[EMAIL PROTECTED] wrote:
> dougm 2002/05/30 19:19:11
>
> Modified: t/response/TestAPR perlio.pm
> xs/APR/PerlIO apr_perlio.c
> Log:
> we cannot support passing Off_t from the perl runtime compiled with
> largfile flags into the apr runtime compiled without.
> only APR::PerlIO::seek has this issue, problem can be seen failing
> apr/perlio tests 3-5 on hpux and solaris, and likely elsewhere.
> ok when offset is 0, but nothing else since cast turns it into 0.
suggesting to make the error message clearer to the non-core developers.
Index: xs/APR/PerlIO/apr_perlio.c
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/PerlIO/apr_perlio.c,v
retrieving revision 1.14
diff -u -r1.14 apr_perlio.c
--- xs/APR/PerlIO/apr_perlio.c 31 May 2002 15:41:40 -0000 1.14
+++ xs/APR/PerlIO/apr_perlio.c 5 Jun 2002 11:31:12 -0000
@@ -155,7 +155,8 @@
#if MP_LARGE_FILES_PERL_ONLY
if (offset != 0) {
Perl_croak(aTHX_ "PerlIO::APR::seek with non-zero offset"
- " not supported with -Duselargefiles");
+ " not supported with Perl built w/ -Duselargefiles"
+ " and APR w/o largefiles support");
}
#else
seek_offset = offset;
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]