Commit 86a6995a authored by Russ Cox's avatar Russ Cox

os: fix windows build

TBR=brainman
CC=golang-dev
https://golang.org/cl/5373105
parent a6106eef
...@@ -55,7 +55,7 @@ type dirInfo struct { ...@@ -55,7 +55,7 @@ type dirInfo struct {
const DevNull = "NUL" 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) { func openFile(name string, flag int, perm uint32) (file *File, err error) {
r, e := syscall.Open(name, flag|syscall.O_CLOEXEC, perm) r, e := syscall.Open(name, flag|syscall.O_CLOEXEC, perm)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment