| ... | @@ -783,7 +783,7 @@ pub fn makeDirWindows(allocator: &Allocator, dir_path: []const u8) -> %void { | ... | @@ -783,7 +783,7 @@ pub fn makeDirWindows(allocator: &Allocator, dir_path: []const u8) -> %void { |
| 783 | } | 783 | } |
| 784 | | 784 | |
| 785 | pub fn makeDirPosix(allocator: &Allocator, dir_path: []const u8) -> %void { | 785 | pub fn makeDirPosix(allocator: &Allocator, dir_path: []const u8) -> %void { |
| 786 | const path_buf = cstr.addNullByte(allocator, dir_path); | 786 | const path_buf = %return cstr.addNullByte(allocator, dir_path); |
| 787 | defer allocator.free(path_buf); | 787 | defer allocator.free(path_buf); |
| 788 | | 788 | |
| 789 | const err = posix.getErrno(posix.mkdir(path_buf.ptr, 0o755)); | 789 | const err = posix.getErrno(posix.mkdir(path_buf.ptr, 0o755)); |