mirror of
https://github.com/golang/go
synced 2024-11-22 08:14:40 -07:00
syscall: change BUG(brainman) to NOTE(brainman)
Avoids the comment appearing in godoc syscall BUGS section. R=brainman CC=golang-dev https://golang.org/cl/1966048
This commit is contained in:
parent
dd202c1a6b
commit
218afb8fbd
@ -206,7 +206,7 @@ func Read(fd int, p []byte) (n int, errno int) {
|
||||
var done uint32
|
||||
if ok, e := ReadFile(int32(fd), p, &done, nil); !ok {
|
||||
if e == ERROR_BROKEN_PIPE {
|
||||
// BUG(brainman): work around ERROR_BROKEN_PIPE is returned on reading EOF from stdin
|
||||
// NOTE(brainman): work around ERROR_BROKEN_PIPE is returned on reading EOF from stdin
|
||||
return 0, 0
|
||||
}
|
||||
return 0, e
|
||||
|
Loading…
Reference in New Issue
Block a user