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
15aceec0
Commit
15aceec0
authored
May 05, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
May 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Map EINPROGRESS to STATUS_DEVICE_NOT_READY.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0f9d9a03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
sock.c
server/sock.c
+2
-2
trace.c
server/trace.c
+0
-1
No files found.
server/sock.c
View file @
15aceec0
...
...
@@ -1221,8 +1221,8 @@ static unsigned int sock_get_error( int err )
case
EFAULT
:
return
WSAEFAULT
;
case
EINVAL
:
return
WSAEINVAL
;
case
EMFILE
:
return
WSAEMFILE
;
case
EINPROGRESS
:
case
EWOULDBLOCK
:
return
WSAEWOULDBLOCK
;
case
EINPROGRESS
:
return
WSAEINPROGRESS
;
case
EALREADY
:
return
WSAEALREADY
;
case
ENOTSOCK
:
return
WSAENOTSOCK
;
case
EDESTADDRREQ
:
return
WSAEDESTADDRREQ
;
...
...
@@ -1290,8 +1290,8 @@ static int sock_get_ntstatus( int err )
case
EINVAL
:
return
STATUS_INVALID_PARAMETER
;
case
ENFILE
:
case
EMFILE
:
return
STATUS_TOO_MANY_OPENED_FILES
;
case
EINPROGRESS
:
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
;
case
EDESTADDRREQ
:
return
STATUS_INVALID_PARAMETER
;
...
...
server/trace.c
View file @
15aceec0
...
...
@@ -5424,7 +5424,6 @@ static const struct
{
"WSAEFAULT"
,
0xc0010000
|
WSAEFAULT
},
{
"WSAEHOSTDOWN"
,
0xc0010000
|
WSAEHOSTDOWN
},
{
"WSAEHOSTUNREACH"
,
0xc0010000
|
WSAEHOSTUNREACH
},
{
"WSAEINPROGRESS"
,
0xc0010000
|
WSAEINPROGRESS
},
{
"WSAEINTR"
,
0xc0010000
|
WSAEINTR
},
{
"WSAEINVAL"
,
0xc0010000
|
WSAEINVAL
},
{
"WSAEISCONN"
,
0xc0010000
|
WSAEISCONN
},
...
...
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