Ryan Liptak 3f9294c735 Windows: Fix TooManyParentDirs handling for paths that shouldn't be cwd-relative
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
2023-08-11 18:58:40 -07:00
..
2023-08-02 12:00:14 -07:00
2023-07-16 18:32:52 -07:00
2023-04-22 13:09:15 +03:00
2023-07-31 03:49:21 -04:00
2023-07-31 10:51:44 -07:00
2023-06-25 14:51:03 -07:00
2023-06-10 20:42:30 -07:00
2023-08-02 12:00:14 -07:00
2023-08-06 18:12:05 +02:00
2023-07-07 11:57:09 -07:00