Commit 218afb8f authored by Russ Cox's avatar Russ Cox

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
parent dd202c1a
......@@ -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
......
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