Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc/bin/mkdir



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.




Home | Main Index | Thread Index | Old Index