Remove := context.allocator usage in package os2
This commit is contained in:
1 parent
570b127869
commit
55b79c078c
6 files changed
+17
-12
No files matched your search
@@ -229,7 +229,7 @@ _setwd :: proc(dir: string) -> Error {
|
||||
return _ok_or_error(unix.sys_chdir(dir_cstr))
|
||||
}
|
||||
|
||||
_get_full_path :: proc(fd: int, allocator := context.allocator) -> string {
|
||||
_get_full_path :: proc(fd: int, allocator: runtime.Allocator) -> string {
|
||||
PROC_FD_PATH :: "/proc/self/fd/"
|
||||
|
||||
buf: [32]u8
|
||||
|
||||
Reference in new issue
Block a user