diff options
author | Ron Yorston <rmy@pobox.com> | 2014-10-09 14:35:36 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-10-09 14:35:36 +0100 |
commit | 0e0b5e9ff840b6a26a0ad798ad68c07209c527b4 (patch) | |
tree | 3422725d1212fbe20dc6ec971bd2832ae5972914 /coreutils | |
parent | 0161b80c268c9c3e36c7e639029f98a5d316f573 (diff) | |
download | busybox-w32-0e0b5e9ff840b6a26a0ad798ad68c07209c527b4.tar.gz busybox-w32-0e0b5e9ff840b6a26a0ad798ad68c07209c527b4.tar.bz2 busybox-w32-0e0b5e9ff840b6a26a0ad798ad68c07209c527b4.zip |
mingw.c: ignore EACCES from mkdir if directory exists
Microsoft Windows has a strange issue with access permissions such that
mkdir will sometimes return EACESS for an existing directory. This is
mentioned here:
http://www.apijunkie.com/APIJunkie/blog/post/2009/12/22/_mkdir-C-runtime-library-function-might-return-unexpected-error-values.aspx
This was causing mkdir -p to fail on a particular machine. Ignoring the
EACCES error if the directory exists fixes the problem.
Diffstat (limited to 'coreutils')
0 files changed, 0 insertions, 0 deletions