From 86a6995a7e4cc7242b010642dc12f61488b5cddf Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 15 Nov 2011 14:05:18 -0500 Subject: [PATCH] os: fix windows build TBR=brainman CC=golang-dev https://golang.org/cl/5373105 --- src/pkg/os/file_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/os/file_windows.go b/src/pkg/os/file_windows.go index 94624266f8c..3a252fb2d8d 100644 --- a/src/pkg/os/file_windows.go +++ b/src/pkg/os/file_windows.go @@ -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)