From a1a7da6f8a831f3d708e0e4b10db4e31f2f3fac3 Mon Sep 17 00:00:00 2001 From: IllusionMan1212 Date: Mon, 4 May 2026 01:25:19 +0200 Subject: [PATCH 1/2] fix(os): store absolute path on File_Info on Windows, matching Linux fixes #6170 --- core/os/dir_windows.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/dir_windows.odin b/core/os/dir_windows.odin index 1168fe18b..3fd045560 100644 --- a/core/os/dir_windows.odin +++ b/core/os/dir_windows.odin @@ -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) } From bda83a7c36683a26e058a8d9da14886649703e7c Mon Sep 17 00:00:00 2001 From: IllusionMan1212 Date: Mon, 4 May 2026 01:26:23 +0200 Subject: [PATCH 2/2] fix(os): create all `dst` directories in `copy_directory_all` --- core/os/dir.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/dir.odin b/core/os/dir.odin index 02dcb87af..ee7cbfb09 100644 --- a/core/os/dir.odin +++ b/core/os/dir.odin @@ -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 }