This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
PATCH: [perl #123503] Bug in POSIX::strerror on 5.21.7
authorKarl Williamson <khw@cpan.org>
Fri, 26 Dec 2014 21:49:17 +0000 (14:49 -0700)
committerKarl Williamson <khw@cpan.org>
Wed, 7 Jan 2015 04:41:25 +0000 (21:41 -0700)
commitec064ab75aa5b4dfd43af2f7654b9a0363ae02c4
tree6b50b81f6e33e836dda5ab2fa6057b9a2bf453ef
parentadf06ddfd8b6d9835479092f95ab172a8d5a3a87
PATCH: [perl #123503] Bug in POSIX::strerror on 5.21.7

There were 3 ideas for a patch: mine, Slaven's, and Father
Chrysostomos'.  I tried out all 3, and all three appear to work, without
breaking #123171.  But I chose FC's as I think it is the best.

I had to create a new .t because it turns out that the test didn't fail
when placed in the obvious test file, wrappers.t.  It appears that the
'use File::Temp' in that file perturbs things to not fail later on.
This is scary, so I created a minimal file.  I thought about using
fresh_perl, but wrappers.t needs functions from Test::More.
MANIFEST
ext/POSIX/lib/POSIX.pm
ext/POSIX/t/strerror_errno.t [new file with mode: 0644]