summaryrefslogtreecommitdiff
path: root/man/dirname.x
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-04 16:42:31 +0200
committerJim Meyering <meyering@redhat.com>2012-05-07 13:39:48 +0200
commitee9e43460f366406edff96b5abfb3ff33587e062 (patch)
tree7451920817eb2c42bcc4aee062074f46e2f9d041 /man/dirname.x
parent3468d26884800d7bc6fcc1ba52cd481175c655d8 (diff)
downloadcoreutils-ee9e43460f366406edff96b5abfb3ff33587e062.tar.xz
cp: handle a race condition more sensibly
* src/copy.c (copy_reg): In a narrow race (stat sees dest, yet open-without-O_CREAT fails with ENOENT), retry the open with O_CREAT. * tests/cp/nfs-removal-race: New file. * tests/Makefile.am (TESTS): Add it. * NEWS (Bug fixes): Mention it. Reported by Philipp Thomas and Neil F. Brown in http://bugs.gnu.org/11100
Diffstat (limited to 'man/dirname.x')
0 files changed, 0 insertions, 0 deletions