diff options
author | David Mitchell <davem@iabyn.com> | 2014-08-12 11:44:35 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2014-08-12 11:44:35 +0100 |
commit | 5a3240c189517e77b3402aa8998b5beee21045bd (patch) | |
tree | 35d84737b656b97839500452651026c81fa368f9 /perlsdio.h | |
parent | 2ebcba0a9f172787c2c75bb3480e865c6809c1f0 (diff) | |
download | perl-5a3240c189517e77b3402aa8998b5beee21045bd.tar.gz |
op/.stat.t: fix race condition
A test was checking that stat on FILEHANDLE and lstat on *FILEHANDLE{IO}
gave the same results. It was using STDOUT as the filehandle, but since
this can be modified by other processes during parallel testing, a race
condition is possible.
Open a file instead to get reliability.
Diffstat (limited to 'perlsdio.h')
0 files changed, 0 insertions, 0 deletions