Merge pull request #6651 from IllusionMan1212/os-fixes

os fixes
This commit is contained in:
gingerBill
2026-05-04 19:55:04 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -218,7 +218,7 @@ copy_directory_all :: proc(dst, src: string, dst_perm := Permissions_Default) ->
@(private)
_copy_directory_all :: proc(dst, src: string, dst_perm := Permissions_Default) -> Error {
err := make_directory(dst, dst_perm)
err := make_directory_all(dst, dst_perm)
if err != nil && err != .Exist {
return err
}

View File

@@ -126,7 +126,7 @@ _read_directory_iterator_init :: proc(it: ^Read_Directory_Iterator, f: ^File) {
}
err: Error
it.impl.path, err = _cleanpath_from_buf(wpath, file_allocator())
it.impl.path, err = get_absolute_path(impl.name, file_allocator())
if err != nil {
read_directory_iterator_set_error(it, impl.name, err)
}