Commit a993d417 authored by Christophe Mutricy's avatar Christophe Mutricy

Fix if statement

parent e5d7794c
......@@ -375,6 +375,7 @@ int utf8_mkdir( const char *dirname )
{
if( GetLastError( ) == ERROR_ALREADY_EXISTS )
errno = EEXIST;
else
errno = ENOENT;
return -1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment