aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
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 /scripts/git-hooks/commit-msg
parentdoc: NEWS: note when the id/groups bug was introduced (diff)
downloadcoreutils-ee9e43460f366406edff96b5abfb3ff33587e062.tar.gz
coreutils-ee9e43460f366406edff96b5abfb3ff33587e062.zip
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 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions