1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:20:22 -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:
Russ Cox 2010-08-25 01:26:35 -04:00
parent dd202c1a6b
commit 218afb8fbd

View File

@ -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