Skip to content

Commit d48faf1

Browse files
committed
windows.GetFinalPathNameByHandle: add links to bugs tracking the Wine workaround
1 parent 689032d commit d48faf1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/std/os/windows.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,6 +1310,8 @@ pub fn GetFinalPathNameByHandle(
13101310
// Wine seems to return NT namespaced paths starting with \??\ from QueryObjectName
13111311
// (e.g. `\??\Z:\some\path\to\a\file.txt`), in which case we can just strip the
13121312
// 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
13131315
return ntToWin32Namespace(final_path, out_buffer) catch |err| switch (err) {
13141316
error.NotNtPath => return error.Unexpected,
13151317
error.NameTooLong => |e| return e,

0 commit comments

Comments
 (0)