Randy Kobes wrote:
On Wed, 3 Sep 2003, Stas Bekman wrote:


[EMAIL PROTECTED] wrote:


 Index: apr_perlio.c
 ===================================================================
 RCS file: /home/cvs/modperl-2.0/xs/APR/PerlIO/apr_perlio.c,v
 retrieving revision 1.30
 retrieving revision 1.31
 diff -u -r1.30 -r1.31
 --- apr_perlio.c       28 Aug 2003 01:56:03 -0000      1.30
 +++ apr_perlio.c       4 Sep 2003 03:31:50 -0000       1.31
 @@ -399,7 +399,7 @@
      sizeof(PerlIO_funcs),
      "APR",
      sizeof(PerlIOAPR),
 -    PERLIO_K_MULTIARG,
 +    PERLIO_K_MULTIARG | PERLIO_K_RAW,

Did this resolve the mismatch in the number of read chars in the apr/perlio test?


No, unfortunately ... The problem is in the dupped file
test of t/response/TestAPR/perlio.pm (about line 179);
the expected is something like "This is a ...", whereas
the received is " This is a ..." (ie, with a leading space).

OK, I have added low-level tracing calls, so now you can see what happens inside and who's to blame. cvs up, make, and then run:


env MOD_PERL_TRACE=o t/TEST -v -trace=debug apr/perlio

Of course try to comment out the sub-tests that don't fail, so you don't get too much tracing info...



__________________________________________________________________
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]



Reply via email to