Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
08da4ba9
Commit
08da4ba9
authored
May 04, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
May 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Map EWOULDBLOCK to STATUS_DEVICE_NOT_READY.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a3295e38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
socket.c
dlls/ws2_32/socket.c
+3
-3
No files found.
dlls/ws2_32/socket.c
View file @
08da4ba9
...
...
@@ -816,7 +816,7 @@ static NTSTATUS sock_get_ntstatus( int err )
case
EINVAL
:
return
STATUS_INVALID_PARAMETER
;
case
ENFILE
:
case
EMFILE
:
return
STATUS_TOO_MANY_OPENED_FILES
;
case
EWOULDBLOCK
:
return
STATUS_
CANT_WAIT
;
case
EWOULDBLOCK
:
return
STATUS_
DEVICE_NOT_READY
;
case
EINPROGRESS
:
return
STATUS_PENDING
;
case
EALREADY
:
return
STATUS_NETWORK_BUSY
;
case
ENOTSOCK
:
return
STATUS_OBJECT_TYPE_MISMATCH
;
...
...
@@ -943,7 +943,7 @@ static NTSTATUS sock_error_to_ntstatus( DWORD err )
case
WSAEFAULT
:
return
STATUS_NO_MEMORY
;
case
WSAEINVAL
:
return
STATUS_INVALID_PARAMETER
;
case
WSAEMFILE
:
return
STATUS_TOO_MANY_OPENED_FILES
;
case
WSAEWOULDBLOCK
:
return
STATUS_
CANT_WAIT
;
case
WSAEWOULDBLOCK
:
return
STATUS_
DEVICE_NOT_READY
;
case
WSAEINPROGRESS
:
return
STATUS_PENDING
;
case
WSAEALREADY
:
return
STATUS_NETWORK_BUSY
;
case
WSAENOTSOCK
:
return
STATUS_OBJECT_TYPE_MISMATCH
;
...
...
@@ -995,7 +995,7 @@ static DWORD NtStatusToWSAError( DWORD status )
case
STATUS_NO_MEMORY
:
return
WSAEFAULT
;
case
STATUS_ACCESS_DENIED
:
return
WSAEACCES
;
case
STATUS_TOO_MANY_OPENED_FILES
:
return
WSAEMFILE
;
case
STATUS_
CANT_WAIT
:
return
WSAEWOULDBLOCK
;
case
STATUS_
DEVICE_NOT_READY
:
return
WSAEWOULDBLOCK
;
case
STATUS_BUFFER_OVERFLOW
:
return
WSAEMSGSIZE
;
case
STATUS_NOT_SUPPORTED
:
return
WSAEOPNOTSUPP
;
case
STATUS_HOST_UNREACHABLE
:
return
WSAEHOSTUNREACH
;
...
...
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