Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
436b37d8
Commit
436b37d8
authored
Jan 18, 2012
by
Alex Brainman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os: remove old note about NewSyscallError being special
R=golang-dev, r CC=golang-dev
https://golang.org/cl/5556044
parent
6a5db20d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
error_plan9.go
src/pkg/os/error_plan9.go
+0
-4
error_posix.go
src/pkg/os/error_posix.go
+0
-4
No files found.
src/pkg/os/error_plan9.go
View file @
436b37d8
...
...
@@ -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.
...
...
src/pkg/os/error_posix.go
View file @
436b37d8
...
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment