Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/pkg/syscall/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