summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-06-14 18:36:44 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-06-14 18:36:44 +0000
commitd203fc19aed3486cd594cffa58175a4f0abf79d3 (patch)
treeae49fbbf0c15b2a556c0a6a63a9a751145732b54 /lib
parent9c0241d8e228c36366fcba40d091399d10f4ca02 (diff)
downloadcoreutils-d203fc19aed3486cd594cffa58175a4f0abf79d3.tar.xz
mkdir-p cleanup.
Diffstat (limited to 'lib')
-rw-r--r--lib/ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/ChangeLog b/lib/ChangeLog
index a462f2eac..fabf69028 100644
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,17 @@
+2005-06-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * mkdir-p.c (CLEANUP_CWD, CLEANUP): Remove.
+ (make_dir_parents): Revamp to avoid need for CLEANUP_CWD, CLEANUP.
+ If the file already exists but is not a directory, don't bother
+ to try to make its parents.
+ Close potential file descriptor leak if we can't chdir("/") (!).
+ Don't always return true if chdir($PWD) fails; return true only
+ if the requested action was done successfully (except for the
+ chdir($PWD)).
+ Don't log final directory unless we actually made it.
+ Refactor to avoid duplicate code to fix up permissions.
+ Don't attempt to fix up parent permissions if chdir($PWD) fails.
+
2005-06-14 Jim Meyering <jim@meyering.net>
* openat-die.c (openat_save_fail): Rename from openat_save_die.