]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: change BUG(brainman) to NOTE(brainman)
authorRuss Cox <rsc@golang.org>
Wed, 25 Aug 2010 05:26:35 +0000 (01:26 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 25 Aug 2010 05:26:35 +0000 (01:26 -0400)
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

index ca00e72ac4e4b9cb9d579183b683f296c7981e49..366a482d2916399b0078e56bb591ae7d7cd7f58f 100644 (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