aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2011-07-08 10:52:50 +1000
committerAndrew Gerrand <adg@golang.org>2011-07-08 10:52:50 +1000
commit5bcbcab3118368e87cd676722db711d54d590403 (patch)
treefb11b7c18e728feefca7155c48a946e16bdd1244 /src/pkg/path
parente67a2504a15ac579758f8dc494d4d4e2b5fc13ab (diff)
downloadgo-5bcbcab3118368e87cd676722db711d54d590403.tar.xz
sort: rename helpers: s/Sort// in sort.Sort[Float64s|Ints|Strings]
Includes 'sorthelpers' gofix and updates to tree. R=golang-dev, gri CC=golang-dev https://golang.org/cl/4631098
Diffstat (limited to 'src/pkg/path')
-rw-r--r--src/pkg/path/filepath/match.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/filepath/match.go b/src/pkg/path/filepath/match.go
index 9c344309d2..7fcc214c05 100644
--- a/src/pkg/path/filepath/match.go
+++ b/src/pkg/path/filepath/match.go
@@ -272,7 +272,7 @@ func glob(dir, pattern string, matches []string) (m []string, e os.Error) {
if err != nil {
return
}
- sort.SortStrings(names)
+ sort.Strings(names)
for _, n := range names {
matched, err := Match(pattern, n)