Subject: CVS commit: basesrc/bin/mkdir
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 11/25/2002 01:40:08
Module Name:	basesrc
Committed By:	chs
Date:		Sun Nov 24 23:40:07 UTC 2002

Modified Files:
	basesrc/bin/mkdir: mkdir.c

Log Message:
in mkpath(), don't try to stat() the to-be-created directory beforehand,
just try to create it and interpret any error appropriately.
this fixes a problem where multiple "mkdir -p" processes can race,
with the loser returning a spurious error.


To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 basesrc/bin/mkdir/mkdir.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.