]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Mon, 13 Jun 2005 10:19:23 +0000 (10:19 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 13 Jun 2005 10:19:23 +0000 (10:19 +0000)
ChangeLog
NEWS

index c5268e5695315bb7103d38d9eee65dba32418810..12af1876a98849dc8211edb7f6c53e7ff2f05586 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,21 @@
-2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
+2005-06-13  Jim Meyering  <jim@meyering.net>
 
        * Version 5.3.1.
 
+       * src/mkdir.c (main): When make_dir_parents changes the current working
+       directory, give a diagnostic about each subsequent failure to create
+       a dot-relative directory.
+       * src/install.c (main): Likewise.
+       (install_file_in_file_parents): Update make_dir_parents caller.
+
+       * src/mkdir.c (main): Give a diagnostic for -- and skip -- each
+       relative directory name after make_dir_parents fails to restore
+       the working directory.  Before, `mkdir -p' could create directories
+       in the wrong place in unusual circumstances.
+       * tests/mkdir/p-3: New test for today's mkdir.c/mkdir-p.c bug fixes.
+
+2005-06-10  Paul Eggert  <eggert@cs.ucla.edu>
+
        Act on the Austin Group's response yesterday to XCU ERN 63; see
        <http://www.opengroup.org/austin/docs/austin_260.txt>.
        * NEWS: ls no longer outputs an extra space between mode and link count.
diff --git a/NEWS b/NEWS
index 43a3bcf68f8b5eb02fb1857632b090534e82bfa9..1dc2073fd898b7ee70a5c2497a98ffaa60fcbb0c 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -122,6 +122,10 @@ GNU coreutils NEWS                                    -*- outline -*-
   "mkdir -m =+x dir" no longer ignores the umask when evaluating "+x",
   and similarly for mkfifo and mknod.
 
+  "mkdir -p /tmp/a/b dir" no longer attempts to create the `.'-relative
+  directory, dir (in /tmp/a), when, after creating /tmp/a/b, it is unable
+  to return to its initial working directory.
+
   "pr -D FORMAT" now accepts the same formats that "date +FORMAT" does.
 
 ** Improved portability