| ... | ... | @@ -1310,6 +1310,8 @@ pub fn GetFinalPathNameByHandle( |
| 1310 | 1310 | // Wine seems to return NT namespaced paths starting with \??\ from QueryObjectName |
| 1311 | 1311 | // (e.g. `\??\Z:\some\path\to\a\file.txt`), in which case we can just strip the |
| 1312 | 1312 | // prefix to turn it into an absolute path. |
| 1313 | // https://github.com/ziglang/zig/issues/26029 |
| 1314 | // https://bugs.winehq.org/show_bug.cgi?id=39569 |
| 1313 | 1315 | return ntToWin32Namespace(final_path, out_buffer) catch |err| switch (err) { |
| 1314 | 1316 | error.NotNtPath => return error.Unexpected, |
| 1315 | 1317 | error.NameTooLong => |e| return e, |