mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
fbc7f2e61b
This replaces built-in os.MkdirAll with a patched version that stops the recursion when reaching the volume part of the path. The original version would continue recursion, and for extended length paths end up with \\? as the top-level directory, and the error message would then be something like: mkdir \\?: The filename, directory name, or volume label syntax is incorrect. |
||
---|---|---|
.. | ||
driveletter_other.go | ||
driveletter_windows.go | ||
file_other.go | ||
file_test.go | ||
file_windows.go | ||
file.go | ||
mkdir_other.go | ||
mkdir_windows_test.go | ||
mkdir_windows.go | ||
preallocate_other.go | ||
preallocate_unix.go | ||
preallocate_windows.go | ||
preallocate.go | ||
unc_test.go | ||
unc_windows.go | ||
unc.go |