acf1e2df84
In ths security related issue the go1.21.4 stdlib changed the parsing of volume names on Windows. https://github.com/golang/go/issues/63713 This had the consequences of breaking the MkdirAll tests which were looking for specific error messages which changed and using invalid paths. In particular under go1.21.3: filepath.VolumeName(`\\?\C:`) == `\\?\C:` But under go1.21.4 it is: filepath.VolumeName(`\\?\C:`) == `\\?` The path `\\?\C:` isn't actually a valid Windows path. I reported this as a FYI bug upstream - I'm not expecting it to be fixed. See: https://github.com/golang/go/issues/64101 |
||
---|---|---|
.. | ||
driveletter_other.go | ||
driveletter_windows.go | ||
file.go | ||
file_other.go | ||
file_test.go | ||
file_windows.go | ||
mkdir_other.go | ||
mkdir_windows.go | ||
mkdir_windows_test.go | ||
preallocate.go | ||
preallocate_other.go | ||
preallocate_unix.go | ||
preallocate_windows.go | ||
unc.go | ||
unc_test.go | ||
unc_windows.go |