]> Cypherpunks repositories - gostls13.git/commitdiff
os: error in documentation
authorRobert Griesemer <gri@golang.org>
Wed, 15 Sep 2010 22:38:16 +0000 (15:38 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 15 Sep 2010 22:38:16 +0000 (15:38 -0700)
R=r
CC=golang-dev
https://golang.org/cl/2225041

src/pkg/os/file_unix.go
src/pkg/os/file_windows.go

index 5d53770532682a70c8ff4325769caa5e549dcd87..9bd75bce01aa0412c8aefcc7f41d7ecc21a962a4 100644 (file)
@@ -70,7 +70,7 @@ func (file *File) Stat() (fi *FileInfo, err Error) {
 
 // Readdir reads the contents of the directory associated with file and
 // returns an array of up to count FileInfo structures, as would be returned
-// by Stat, in directory order.  Subsequent calls on the same file will yield
+// by Lstat, in directory order.  Subsequent calls on the same file will yield
 // further FileInfos.
 // A negative count means to read until EOF.
 // Readdir returns the array and an Error, if any.
index cb2ac987cf84f78fb0b9ce816fb4b18a72ede5fa..e26c138c383372b2853924d64160ac2a79aefb67 100644 (file)
@@ -110,7 +110,7 @@ func (file *File) Stat() (fi *FileInfo, err Error) {
 
 // Readdir reads the contents of the directory associated with file and
 // returns an array of up to count FileInfo structures, as would be returned
-// by Stat, in directory order.  Subsequent calls on the same file will yield
+// by Lstat, in directory order.  Subsequent calls on the same file will yield
 // further FileInfos.
 // A negative count means to read until EOF.
 // Readdir returns the array and an Error, if any.