In perl.git, the branch smoke-me/tonyc/readdir-errno has been created <http://perl5.git.perl.org/perl.git/commitdiff/ab3c6160214f48717a57844936853273b49e2ff2?hp=0000000000000000000000000000000000000000>
at ab3c6160214f48717a57844936853273b49e2ff2 (commit) - Log ----------------------------------------------------------------- commit ab3c6160214f48717a57844936853273b49e2ff2 Author: Tony Cook <t...@develop-help.com> Date: Thu Dec 12 16:22:06 2013 +1100 [perl #118651] don't overwrite $! in readdir() POSIX expects readdir() to leave errno alone when it reaches end of directory without an error so that case can be detected. Do the same in perl. ----------------------------------------------------------------------- -- Perl5 Master Repository