This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for stat(CLOSED) fix
authorZefram <zefram@fysh.org>
Wed, 15 Nov 2017 08:17:30 +0000 (08:17 +0000)
committerZefram <zefram@fysh.org>
Wed, 15 Nov 2017 08:17:30 +0000 (08:17 +0000)
pod/perldelta.pod

index 0dd6615..2ce4e89 100644 (file)
@@ -568,6 +568,11 @@ already fails.
 
 =item *
 
+C<stat()>, C<lstat()>, and file test operators now reliably set C<$!> when
+failing due to being applied to a closed or otherwise invalid file handle.
+
+=item *
+
 The in-place reverse optimisation now correctly strengthens weak
 references using the L<C<sv_rvunweaken()>|perlapi/sv_rvunweaken>
 API function.