os: MkdirAll fails on Windows with extended volume name syntax #39785
Labels
help wanted
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Windows
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, the above is latest tip
What operating system and processor architecture are you using (
go env
)?Tested with Windows 10 with a binary cross compiled from Linux.
Here is
go env
from the Windows box (which isn't running go-tip as I don't know how to compile it on Windows!)go env
OutputWhat did you do?
I ran this program
With the extended volume name from
mountvol.exe
(runmountvol
to see the extended name for your disk)I ran
What did you expect to see?
I expected this to create the
go-test
directory onC:
What did you see instead?
Note that this succeeds if the directory already exists
This may be related to #22230
The text was updated successfully, but these errors were encountered: