Make failed filetests consistent with & w/out fatal warnings
authorFather Chrysostomos <sprout@cpan.org>
Sat, 14 Jan 2012 04:28:46 +0000 (20:28 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 14 Jan 2012 05:24:55 +0000 (21:24 -0800)
commit7b7309aff53f13fbc885bbe035da3e4ef8b481f4
treec172c1561629c3769e044b32ece0445a94789167
parentbd5f6c0160a24cc91f91e8fe5180efde0d7fb8af
Make failed filetests consistent with & w/out fatal warnings

The result of stat(_) after a failed -r HANDLE would differ depending
on whether fatal warnings are on.  This corrects that, by setting the
internal status before warning about an unopened filehandle.
doio.c
t/op/filetest.t