mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
Previously, a relative path like `..` would: - Attempt to be normalized (i.e. remove . and .. without any path resolution), but would error with TooManyParentDirs - This would make wToPrefixedFileW run it through `RtlGetFullPathName_U` to do the necessary path resolution, but `RtlGetFullPathName_U` always resolves relative paths relative to the CWD Instead, when TooManyParentDirs occurs, we now look up the path of the passed in `dir` (if it's non-null) and append the relative path to it before giving it to `RtlGetFullPathName_U`. If `dir` is null, then we just give it RtlGetFullPathName_U directly and let it resolve it relative to the CWD. Closes #16779 |
||
|---|---|---|
| .. | ||
| advapi32.zig | ||
| crypt32.zig | ||
| gdi32.zig | ||
| kernel32.zig | ||
| lang.zig | ||
| nls.zig | ||
| ntdll.zig | ||
| ntstatus.zig | ||
| ole32.zig | ||
| psapi.zig | ||
| shell32.zig | ||
| sublang.zig | ||
| test.zig | ||
| user32.zig | ||
| win32error.zig | ||
| winmm.zig | ||
| ws2_32.zig | ||