diff options
author | Araq <rumpf_a@web.de> | 2014-10-04 19:40:23 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-10-04 19:40:23 +0200 |
commit | fc47c0edc76d1d8460fa0d1b384b97b7f2c92934 (patch) | |
tree | 395d3a61a2f5ee97491dd06e432ccf412f89fdb5 /lib/pure | |
parent | 4616a1e006f0b909d204d8e8f1ad3cd43d8db556 (diff) | |
parent | c17c8e9afa6ba6a1000fe82b1c8a7af10e3fc698 (diff) | |
download | Nim-fc47c0edc76d1d8460fa0d1b384b97b7f2c92934.tar.gz |
Merge branch 'devel' of https://github.com/Araq/Nimrod into bigbreak
Conflicts: lib/impure/db_postgres.nim lib/pure/os.nim lib/wrappers/postgres.nim
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/os.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index c08297b7c..3a6930654 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -1341,10 +1341,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: raiseOSError(osLastError()) elif defined(unix): - if mkdir(dir, 0o711) != 0'i32 and errno != EEXIST: + if mkdir(dir, 0o777) != 0'i32 and errno != EEXIST: raiseOSError(osLastError()) else: when useWinUnicode: |