Bug#733680: I prepared a fix for it.

Shlomi Fish shlomif at shlomifish.org
Sat Jan 4 10:11:15 UTC 2014


Hi all,

thanks for the investigation - I was wondering why the Spork tests failed. In
any case, I prepared a fix for it at:

https://github.com/ingydotnet/io-all-pm/pull/21

I'm attaching a diff for it.

Just for reference:

<<<<<<<<<<<<<<<<<<<<<<<<<
shlomif at telaviv1:~/IO-All-0.39$ ls -l ; perl -Ilib -MIO::All -e
'io->file("foobar2")->assert->print("foo")' ; ls -l
total 76
-rw-r--r-- 1 shlomif shlomif  3879 Dec 12  2008 Changes
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 inc
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 lib
-rw-r--r-- 1 shlomif shlomif   149 Dec 12  2008 Makefile.PL
-rw-r--r-- 1 shlomif shlomif  1298 Feb  3  2008 MANIFEST
-rw-r--r-- 1 shlomif shlomif   378 Dec 12  2008 META.yml
-rw-r--r-- 1 shlomif shlomif 48721 Dec 12  2008 README
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 t
Useless use of \E at lib/IO/All.pm line 72.
Useless use of \E at lib/IO/All.pm line 80.
Useless use of \E at lib/IO/All.pm line 81.
Can't open file 'foobar2' for output:
Is a directory at -e line 1.
total 80
-rw-r--r-- 1 shlomif shlomif  3879 Dec 12  2008 Changes
drwxr-xr-x 2 shlomif shlomif  4096 Jan  4 12:10 foobar2
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 inc
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 lib
-rw-r--r-- 1 shlomif shlomif   149 Dec 12  2008 Makefile.PL
-rw-r--r-- 1 shlomif shlomif  1298 Feb  3  2008 MANIFEST
-rw-r--r-- 1 shlomif shlomif   378 Dec 12  2008 META.yml
-rw-r--r-- 1 shlomif shlomif 48721 Dec 12  2008 README
drwxr-xr-x 3 shlomif shlomif  4096 Dec 12  2008 t
shlomif at telaviv1:~/IO-All-0.39$ 
>>>>>>>>>>>>>>>>>>>>>>>>>

It also happens with perl-5.10.1.

To me it seems like a regression in glibc or the kernel.

Best regards,

	Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
What Makes Software Apps High Quality -  http://shlom.in/sw-quality

In Soviet Russia, superstition believes in you. — Sawyer X

Please reply to list if it's a mailing list post - http://shlom.in/reply .
-------------- next part --------------
A non-text attachment was scrubbed...
Name: git.diff
Type: text/x-patch
Size: 1607 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20140104/0226e5d8/attachment.bin>


More information about the pkg-perl-maintainers mailing list