commit 2358f4e70797e22265ff5f60b7e3d66767643f7b
Author: Matthew Dillon <[email protected]>
Date: Wed Nov 30 09:52:08 2011 -0800
mkdir - Fix MP race in mkdir -p
* mkdir -p can race other mkdir -p commands
* Do the same fix that we did for xinstall... if the mkdir() fails after
the stat() check, stat() again to see if the directory creation raced.
Summary of changes:
bin/mkdir/mkdir.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2358f4e70797e22265ff5f60b7e3d66767643f7b
--
DragonFly BSD source repository