mirror of
https://github.com/golang/go.git
synced 2025-10-26 22:34:12 +00:00
fix linux build
R=rsc OCL=27579 CL=27579
This commit is contained in:
parent
1f6463f823
commit
3a8ff8237a
2 changed files with 3 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ func readdirnames(file *File, count int) (names []string, err *os.Error) {
|
|||
if dirent.Ino == 0 { // File absent in directory.
|
||||
continue
|
||||
}
|
||||
var name = string(dirent.Name[0:clen(dirent.Name)]);
|
||||
var name = string(dirent.Name[0:clen(&dirent.Name)]);
|
||||
if name == "." || name == ".." { // Useless names
|
||||
continue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue