Stas Bekman wrote:

Steve Hay wrote:

Me again!

One more test failure on the usual Win32 setup (2.0.47 / [EMAIL PROTECTED] / mp2-cvs):

=====
C:\Temp\modperl-2.0>perl t/TEST -verbose t/apr/perlio.t
C:\apache2/bin/Apache.exe -d C:/Temp/modperl-2.0/t -f C:/Temp/modperl-2.0/t/con



# testing : read/write a dupped file
# expected: This is a test: 3384
# received:  This is a test: 3384
not ok 10


Thanks Steve, Randy has already reported this issue, but he didn't have a chance to debug it. Can you try and see why does it prepend the space when reading from a file? e.g. test the file itself, it could be that it wrote the space in there.

I changed the test script a little so that the later tests use a different filename. That way, the file doesn't get overwritten, and since there is no cleanup at the end that means it is left behind for me to look at.


The file does not have the leading space character that the test reports having received.

I'm a little confused how the open()'s work. I thought

open my $fh, "<:APR", $file, ...

would do

use PerlIO 'APR';

and hence

require PerlIO::APR;

(see PerlIO manpage), but I can't see a PerlIO::APR module - only an APR::PerlIO. Is that what it's using? If so, how?

So is xs\APR\PerlIO\ tha right place to be poking around?

- Steve


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



Reply via email to