1
0
mirror of https://github.com/golang/go synced 2024-11-22 04:04:40 -07:00

os: fix windows build

TBR=brainman
CC=golang-dev
https://golang.org/cl/5373105
This commit is contained in:
Russ Cox 2011-11-15 14:05:18 -05:00
parent a6106eef37
commit 86a6995a7e

View 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)