]> Cypherpunks repositories - gostls13.git/commit
os: fix os.MkdirAll with backslash path separator.
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Sun, 29 May 2011 03:03:49 +0000 (13:03 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 29 May 2011 03:03:49 +0000 (13:03 +1000)
commit0f4510b3707bc1b8cfbcdfeed609524d00f5c1ca
tree5e25f25183693786906a917ca9e595c84c8baa56
parent505f0bb3ce55871b7c79cfcd34fa468f5cee73ef
os: fix os.MkdirAll with backslash path separator.
MkdirAll() need to use isSeparator().
Move primary defines of filepath.Separator/filepath.ListSeparator
 to os.PathSeparator/os.PathListSeparator.
Move filepath.isSeparator() to os.IsPathSeparator().
filepath package refer them from os package.
Fixes #1831.

R=rsc, alex.brainman
CC=golang-dev
https://golang.org/cl/4535100
src/pkg/os/Makefile
src/pkg/os/path.go
src/pkg/os/path_plan9.go [new file with mode: 0644]
src/pkg/os/path_test.go
src/pkg/os/path_unix.go [new file with mode: 0644]
src/pkg/os/path_windows.go [new file with mode: 0644]
src/pkg/path/filepath/path.go
src/pkg/path/filepath/path_plan9.go
src/pkg/path/filepath/path_unix.go
src/pkg/path/filepath/path_windows.go