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
6677d295
Commit
6677d295
authored
Nov 14, 2011
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syscall: make windows Errno implement net.Error (fix build)
TBR=brainman CC=golang-dev
https://golang.org/cl/5371086
parent
f19aef53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
dll_windows.go
src/pkg/syscall/dll_windows.go
+8
-0
No files found.
src/pkg/syscall/dll_windows.go
View file @
6677d295
...
@@ -15,6 +15,14 @@ func (e Errno) Error() string {
...
@@ -15,6 +15,14 @@ func (e Errno) Error() string {
return
errstr
(
e
)
return
errstr
(
e
)
}
}
func
(
e
Errno
)
Temporary
()
bool
{
return
e
==
EINTR
||
e
==
EMFILE
||
e
.
Timeout
()
}
func
(
e
Errno
)
Timeout
()
bool
{
return
e
==
EAGAIN
||
e
==
EWOULDBLOCK
||
e
==
ETIMEDOUT
}
// DLLError describes reasons for DLL load failures.
// DLLError describes reasons for DLL load failures.
type
DLLError
struct
{
type
DLLError
struct
{
Err
error
Err
error
...
...
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