mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-02 04:38:16 +00:00
Allow for nested temp_allocator() calls to flip between arenas on TEMP_ALLOCATOR_GUARDs
This commit is contained in:
@@ -59,7 +59,7 @@ _mkdir_all :: proc(path: string, perm: int) -> Error {
|
||||
path_bytes[len(path)] = 0
|
||||
|
||||
dfd: linux.Fd
|
||||
errno: linux.Error
|
||||
errno: linux.Errno
|
||||
if path_bytes[0] == '/' {
|
||||
dfd, errno = linux.open("/", _OPENDIR_FLAGS)
|
||||
path_bytes = path_bytes[1:]
|
||||
|
||||
Reference in New Issue
Block a user