os.Errno -> os.Error
This commit is contained in:
1 parent
160048eaee
commit
1d75a612d5
9 files changed
+15
-14
No files matched your search
@@ -28,7 +28,7 @@ Parse_Error :: struct {
|
||||
// Provides more granular information than what just a string could hold.
|
||||
Open_File_Error :: struct {
|
||||
filename: string,
|
||||
errno: os.Errno,
|
||||
errno: os.Error,
|
||||
mode: int,
|
||||
perms: int,
|
||||
}
|
||||
|
||||
@@ -255,7 +255,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 {
|
||||
// NOTE(Feoramund): os.Errno is system-dependent, and there's
|
||||
// NOTE(Feoramund): os.Error is system-dependent, and there's
|
||||
// currently no good way to translate them all into strings.
|
||||
//
|
||||
// The upcoming `os2` package will hopefully solve this.
|
||||
|
||||
Reference in new issue
Block a user