mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
os: fix build for Plan 9
R=golang-dev, alex.brainman CC=golang-dev https://golang.org/cl/4657074
This commit is contained in:
parent
cc9fed7c1a
commit
bedee318d5
2 changed files with 28 additions and 4 deletions
|
|
@ -6,7 +6,6 @@ package os
|
|||
|
||||
import (
|
||||
"runtime"
|
||||
"sync"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
|
|
@ -14,9 +13,8 @@ import (
|
|||
type File struct {
|
||||
fd int
|
||||
name string
|
||||
dirinfo *dirInfo // nil unless directory being read
|
||||
nepipe int // number of consecutive EPIPE in Write
|
||||
l sync.Mutex // used to implement windows pread/pwrite
|
||||
dirinfo *dirInfo // nil unless directory being read
|
||||
nepipe int // number of consecutive EPIPE in Write
|
||||
}
|
||||
|
||||
// Fd returns the integer Unix file descriptor referencing the open file.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue