aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--win32/mingw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/win32/mingw.c b/win32/mingw.c
index 7c4a3547f..f9415f509 100644
--- a/win32/mingw.c
+++ b/win32/mingw.c
@@ -1781,8 +1781,7 @@ int mingw_mkdir(const char *path, int mode UNUSED_PARAM)
1781 if ( (ret=mkdir(path)) < 0 ) { 1781 if ( (ret=mkdir(path)) < 0 ) {
1782 lerrno = errno; 1782 lerrno = errno;
1783 if ( lerrno == EACCES && stat(path, &st) == 0 ) { 1783 if ( lerrno == EACCES && stat(path, &st) == 0 ) {
1784 ret = 0; 1784 lerrno = EEXIST;
1785 lerrno = 0;
1786 } 1785 }
1787 } 1786 }
1788 1787