mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
os: fix data race in epipecheck()
Fixes #3860. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6443051
This commit is contained in:
parent
c49af2ccaf
commit
ab9ccedefe
3 changed files with 4 additions and 5 deletions
|
|
@ -24,7 +24,7 @@ type file struct {
|
|||
fd int
|
||||
name string
|
||||
dirinfo *dirInfo // nil unless directory being read
|
||||
nepipe int // number of consecutive EPIPE in Write
|
||||
nepipe int32 // 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