localize Windows hack

This commit is contained in:
Glenn Maynard
2007-05-08 03:19:22 +00:00
parent f46f9ba9a8
commit 9398fbd629
@@ -152,11 +152,14 @@ bool CreateDirectories( RString Path )
/* I can't reproduce this anymore. If we get ENOENT, log it but keep
* going. */
if( errno == ENOENT )
{
WARN( ssprintf("Couldn't create %s: %s", curpath.c_str(), strerror(errno)) );
errno = EEXIST;
}
#endif
if( errno == EEXIST || errno == ENOENT )
continue; // we expect to see these errors
if( errno == EEXIST )
continue; // we expect to see this error
// XXX: This doesn't make sense. Why do we return if LOG is present here?
if( LOG )