aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/path/filepath/match.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/path/filepath/match.go')
-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 3b36d18ef7..a05bb5f7e7 100644
--- a/src/pkg/path/filepath/match.go
+++ b/src/pkg/path/filepath/match.go
@@ -263,7 +263,7 @@ func glob(dir, pattern string, matches []string) (m []string, e os.Error) {
if !fi.IsDirectory() {
return
}
- d, err := os.Open(dir, os.O_RDONLY, 0666)
+ d, err := os.Open(dir)
if err != nil {
return
}