]> Cypherpunks repositories - gostls13.git/commitdiff
os: remove old note about NewSyscallError being special
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 18 Jan 2012 05:59:40 +0000 (16:59 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 18 Jan 2012 05:59:40 +0000 (16:59 +1100)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5556044

src/pkg/os/error_plan9.go
src/pkg/os/error_posix.go

index 8f005efbe056fa38468bb43e9d01284ff6e9e9c6..3c727b2ab39e44d0151e1612efd9ee7e51d5f732 100644 (file)
@@ -17,10 +17,6 @@ type SyscallError struct {
 
 func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Err }
 
-// Note: If the name of the function NewSyscallError changes,
-// pkg/go/doc/doc.go should be adjusted since it hardwires
-// this name in a heuristic.
-
 // NewSyscallError returns, as an error, a new SyscallError
 // with the given system call name and error details.
 // As a convenience, if err is nil, NewSyscallError returns nil.
index ebbe4369703328d92f313754c5e54b715f0bad1b..1a08627256ac7af9beabc4e07ca691775e57c5d1 100644 (file)
@@ -59,10 +59,6 @@ type SyscallError struct {
 
 func (e *SyscallError) Error() string { return e.Syscall + ": " + e.Errno.Error() }
 
-// Note: If the name of the function NewSyscallError changes,
-// pkg/go/doc/doc.go should be adjusted since it hardwires
-// this name in a heuristic.
-
 // NewSyscallError returns, as an error, a new SyscallError
 // with the given system call name and error details.
 // As a convenience, if err is nil, NewSyscallError returns nil.