mirror of
https://github.com/golang/go
synced 2024-11-22 03:54:39 -07:00
os: fix windows build
TBR=brainman CC=golang-dev https://golang.org/cl/5373105
This commit is contained in:
parent
a6106eef37
commit
86a6995a7e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user