]> Cypherpunks repositories - gostls13.git/commitdiff
os: fix windows build
authorRuss Cox <rsc@golang.org>
Tue, 15 Nov 2011 19:05:18 +0000 (14:05 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 15 Nov 2011 19:05:18 +0000 (14:05 -0500)
TBR=brainman
CC=golang-dev
https://golang.org/cl/5373105

src/pkg/os/file_windows.go

index 94624266f8c9bfab506f045c7679c0ec1b3e3f22..3a252fb2d8dbf1b9ceae5dc607193a110ae00ccc 100644 (file)
@@ -55,7 +55,7 @@ type dirInfo struct {
 
 const DevNull = "NUL"
 
-func (file *File) isdir() bool { return file != nil && file.dirinfo != nil }
+func (file *file) isdir() bool { return file != nil && file.dirinfo != nil }
 
 func openFile(name string, flag int, perm uint32) (file *File, err error) {
        r, e := syscall.Open(name, flag|syscall.O_CLOEXEC, perm)