mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-06 06:38:20 +00:00
Fix _copy_directory_all_native
This commit is contained in:
@@ -3,7 +3,7 @@ package os
|
||||
|
||||
import "core:sys/darwin"
|
||||
|
||||
_copy_directory_all_native :: proc(dst, src: string, dst_perm := 0o755) -> (err: Error) {
|
||||
_copy_directory_all_native :: proc(dst, src: string, dst_perm := Permissions_Default) -> (err: Error) {
|
||||
temp_allocator := TEMP_ALLOCATOR_GUARD({})
|
||||
|
||||
csrc := clone_to_cstring(src, temp_allocator) or_return
|
||||
|
||||
Reference in New Issue
Block a user