| author | |
| committer | |
| log | a68dc65327469b4b2cc8a034d5e28dac86fe2802 |
| tree | 3970466b24b45252b8f7cd027029887250c7b464 |
| parent | 0bc80411f6a87a76edd0e3f04f697a0eab8ef9c0 |
1 files changed, 1 insertions(+), 1 deletions(-)
std/os/index.zig+1-1| ... | ... | @@ -783,7 +783,7 @@ pub fn makeDirWindows(allocator: &Allocator, dir_path: []const u8) -> %void { |
| 783 | 783 | } |
| 784 | 784 | |
| 785 | 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 | 787 | defer allocator.free(path_buf); |
| 788 | 788 | |
| 789 | 789 | const err = posix.getErrno(posix.mkdir(path_buf.ptr, 0o755)); |