summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2008-01-09 11:24:12 +0100
committerJim Meyering <meyering@redhat.com>2008-01-09 11:24:12 +0100
commit424feb63014ebd6908b934d3d0d53b46a58ecebd (patch)
tree57651ace1edd4adfb90f13c23c51130229a26f3b /ChangeLog
parente80379051b72cff4c948c7045491c9faa8a2a643 (diff)
downloadcoreutils-424feb63014ebd6908b934d3d0d53b46a58ecebd.tar.xz
Fix a minor race condition when using cp -p --parents.
* src/cp.c (make_dir_parents_private): If stat fails on the parent directory, do not add it to the list of directories whose modes might need fixing later. Also, do not bother invoking 'stat' unless the stat results might be needed later.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e834634c3..7e543ba62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-01-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix a minor race condition when using cp -p --parents.
+ * src/cp.c (make_dir_parents_private): If stat fails on the parent
+ directory, do not add it to the list of directories whose modes
+ might need fixing later. Also, do not bother invoking 'stat'
+ unless the stat results might be needed later.
+
2008-01-08 Jim Meyering <meyering@redhat.com>
parent-perm: avoid a bizarre test failure.