Remove := context.allocator usage in package os2

This commit is contained in:
gingerBill
2023-02-10 11:46:29 +00:00
parent 570b127869
commit 55b79c078c
6 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -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