mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 15:43:06 +00:00
stage1: Fix path normalization on Windows
Backport a missing change from `path.zig`. Fixes #9465
This commit is contained in:
parent
3af9731600
commit
3568cd4b8f
@ -480,7 +480,7 @@ static Buf os_path_resolve_windows(Buf **paths_ptr, size_t paths_len) {
|
||||
// Now we know the disk designator to use, if any, and what kind it is. And our result
|
||||
// is big enough to append all the paths to.
|
||||
bool correct_disk_designator = true;
|
||||
for (size_t i = 0; i < paths_len; i += 1) {
|
||||
for (size_t i = first_index; i < paths_len; i += 1) {
|
||||
Slice<uint8_t> p = buf_to_slice(paths_ptr[i]);
|
||||
WindowsPath parsed = windowsParsePath(p);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user