在 2023-03-29 21:33, Corinna Vinschen 写道:
I don't think this is correct. Multiple backslashes are folded into a single backslash by the Windows API layer. Thus \\host\\share is not equivalent to\\host\<empty-share>\<dir-called-share> but to \\host\share Try this example, please:
Well, I didn't use `GetFinalPathNameByHandle()`, but examined these paths in CMD: C:\>dir \\192.168.1.8\\temp_share The specified path is invalid. C:\>dir \\192.168.1.8\temp_share (... directory contents follow ...) As you can see, if we assume that CMD doesn't do path resolution itself, these paths are not equivalent. -- Best regards, LIU Hao
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
