在 2023/3/29 01:53, Corinna Vinschen 写道:
Backslahs is one of the characters not allowed as part of a share name, just as it is not allowed as part of a filename. I. e.\\host\share is ok \\host\\share can't exist
Yes, so the backslash between the host name and share name is special, right? By convention `dirname()` removes consecutive slashes, but it should not remove this special one?
Hmm, ok. But \\host\ is just as invalid as \\host...
Because these two functions can't report errors, maybe an invalid output from an invalid input is acceptable, but a valid output from an invalid input (e.g. `\\host\share` from `\\host\\share`) or an invalid output from a valid input (e.g. `\\host` from `\\host\share`) is not acceptable?
-- 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
