From: Jim Meyering Date: Sat, 2 Jan 1999 05:17:17 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: FILEUTILS-4_1-b2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e213c687aaef6231f3159d9a728f3a353ac2d700;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/fileutils/ChangeLog b/old/fileutils/ChangeLog index 401112fad2..6f152d090f 100644 --- a/old/fileutils/ChangeLog +++ b/old/fileutils/ChangeLog @@ -1,5 +1,11 @@ 1999-01-01 Jim Meyering + * lib/makepath.c (make_dir): New function, factored out of make_path. + (make_path): Use make_dir rather than open-coding it twice. + This effectively reverses the order of the latter pair of stat/mkdir + calls and fixes a race condition bug whereby one of two concurrent + `mkdir -p' processes could fail with EEXIST. + * lib/xmalloc.c: Add comments. (xcalloc, xmalloc, xrealloc): Remove prototypes. (xcalloc): Remove `#ifdef NOT_USED' that used to hide this function.