diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-05-27 08:28:59 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-05-27 08:37:58 -0600 |
commit | 77b8b9aded596134eb5091b72ad4d9cf361a7c94 (patch) | |
tree | 17856d04be9a24c8607c2b95930c9312b12ea8b7 /lib/importenv.pl | |
parent | 07fd1c9cb43c1268e72f10b8cde38fb3179fb04e (diff) | |
download | perl-77b8b9aded596134eb5091b72ad4d9cf361a7c94.tar.gz |
podcheck.t: Guard against transitory files
podcheck uses File::Find to look for pods in the directory structure.
It is possible for the Find to find a transitory file that is gone by
the time the file is opened for examination. This patch will simply
skip the transitory file if the open fails and it's because it no longer
exists. (There is a tiny window in which the open could fail, and
the file gets recreated and hence passes the exists test, but I'm not
bothering to code for that until it actually happens.)
Diffstat (limited to 'lib/importenv.pl')
0 files changed, 0 insertions, 0 deletions