Add @(require_results) everywhere in os2

This commit is contained in:
gingerBill committed 2024-05-14 18:25:15 +01:00
1 parent 48c1822709
commit 450b9ceaec
13 files changed
+85 -39

No files matched your search

+2 -1
View File
@@ -32,7 +32,8 @@ _mkdir :: proc(path: string, perm: File_Mode) -> Error {
return .Invalid_Argument
}
path_cstr := strings.clone_to_cstring(path, context.temp_allocator)
TEMP_ALLOCATOR_GUARD()
path_cstr := strings.clone_to_cstring(path, temp_allocator())
return _ok_or_error(unix.sys_mkdir(path_cstr, uint(perm & 0o777)))
}