mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-01 10:52:14 +00:00
Merge branch 'devel' of github.com:Araq/Nimrod into devel
Merging mainline devel.
This commit is contained in:
@@ -1332,10 +1332,10 @@ proc removeDir*(dir: string) {.rtl, extern: "nos$1", tags: [
|
||||
|
||||
proc rawCreateDir(dir: string) =
|
||||
when defined(solaris):
|
||||
if mkdir(dir, 0o711) != 0'i32 and errno != EEXIST and errno != ENOSYS:
|
||||
if mkdir(dir, 0o777) != 0'i32 and errno != EEXIST and errno != ENOSYS:
|
||||
osError(osLastError())
|
||||
elif defined(unix):
|
||||
if mkdir(dir, 0o711) != 0'i32 and errno != EEXIST:
|
||||
if mkdir(dir, 0o777) != 0'i32 and errno != EEXIST:
|
||||
osError(osLastError())
|
||||
else:
|
||||
when useWinUnicode:
|
||||
|
||||
Reference in New Issue
Block a user