]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
.
authorJim Meyering <jim@meyering.net>
Wed, 21 Dec 2005 09:48:41 +0000 (09:48 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 21 Dec 2005 09:48:41 +0000 (09:48 +0000)
lib/ChangeLog

index 2ee91a10916fc27049995d40bf507403605661bb..0ba246959dd575651f3797391faf04c9a778f4d9 100644 (file)
@@ -8,6 +8,10 @@
        * mkdir-p.c (RW_USR): Remove definition.
        (make_dir_parents): Use S_IRWXU, now that read access is also required.
 
+       Avoid a race condition, on systems where open honors O_NOFOLLOW.
+       * mkdir-p.c (make_dir_parents): Include chdir-safer.h.
+       Use chdir_no_follow in place of chdir.
+
        * mkdir-p.c (make_dir_parents): Remove unnecessary casts of alloca,
        since now it's guaranteed to be (void *).