From 218afb8fbd8b34f7a9d2a0901d827b6ac14cbe7d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 25 Aug 2010 01:26:35 -0400 Subject: [PATCH] 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 --- src/pkg/syscall/syscall_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/syscall/syscall_windows.go b/src/pkg/syscall/syscall_windows.go index ca00e72ac4..366a482d29 100644 --- a/src/pkg/syscall/syscall_windows.go +++ b/src/pkg/syscall/syscall_windows.go @@ -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 -- 2.50.0