Begin mapping os.Error in the rest of the codebase

This commit is contained in:
gingerBill committed 2024-08-04 11:58:04 +01:00
1 parent 1d75a612d5
commit 97c499dbb4
18 files changed
+231 -222

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ parse_and_set_pointer_by_named_type :: proc(ptr: rawptr, str: string, data_type:
}
handle, errno := os.open(str, mode, perms)
if errno != 0 {
if errno != nil {
// NOTE(Feoramund): os.Error is system-dependent, and there's
// currently no good way to translate them all into strings.
//