mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-05 02:04:06 +00:00
mkdir_all: WHOOPS
This commit is contained in:
@@ -52,7 +52,7 @@ _mkdir_all :: proc(path: string, perm: File_Mode) -> Error {
|
||||
}
|
||||
fallthrough
|
||||
case 0:
|
||||
if res := unix.sys_close(int(dfd)) < 0; res < 0 {
|
||||
if res := unix.sys_close(int(dfd)); res < 0 {
|
||||
return _get_platform_error(res)
|
||||
}
|
||||
// skip consecutive '/'
|
||||
|
||||
Reference in New Issue
Block a user