diff options
| author | Ondřej Surý <ondrej@sury.org> | 2011-07-08 09:16:22 +0200 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2011-07-08 09:16:22 +0200 |
| commit | ab23f6dab91e6ec615481c4b3e77e4639c3f871b (patch) | |
| tree | f897fd3be56fdc3599a88df375c76bc172108fd1 /src/pkg/path/filepath/path.go | |
| parent | 8d00b02d82d86abe51773dc2c1751843bb538ae5 (diff) | |
| download | golang-ab23f6dab91e6ec615481c4b3e77e4639c3f871b.tar.gz | |
Imported Upstream version 2011.07.07upstream-weekly/2011.07.07
Diffstat (limited to 'src/pkg/path/filepath/path.go')
| -rw-r--r-- | src/pkg/path/filepath/path.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/filepath/path.go b/src/pkg/path/filepath/path.go index dcd8017ad..b181483ed 100644 --- a/src/pkg/path/filepath/path.go +++ b/src/pkg/path/filepath/path.go @@ -136,7 +136,7 @@ func SplitList(path string) []string { if path == "" { return []string{} } - return strings.Split(path, string(ListSeparator), -1) + return strings.Split(path, string(ListSeparator)) } // Split splits path immediately following the final Separator, |
