Make -T _ and -B _ always set PL_laststatval
authorFather Chrysostomos <sprout@cpan.org>
Sat, 14 Jan 2012 07:38:57 +0000 (23:38 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 14 Jan 2012 07:38:57 +0000 (23:38 -0800)
commiteb4c377af757baa899bb66137d53187fcea634db
treebbe73115472d6aeea38c6dcb5b5b1808905e7afe
parent93fad9301a05ccd2d02b9949ee59a69708b508e1
Make -T _ and -B _ always set PL_laststatval

-T _ and -B _ always do another stat() on the previous file handle or
filename, unless it is a handle that has been closed.

Normally, the internal stat buffer, status, etc., are reset even for
_.  This happens even on a failed fstat().

-T HANDLE and -B HANDLE currently *do* reset the stat status
(PL_laststatval) if there is no IO thingy, so having -T _ and -B _ not
do that makes things needlessly inconsistent.
pp_sys.c
t/op/filetest.t