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
21dfab61
Commit
21dfab61
authored
Jul 15, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 25, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Map AFD_POLL_RESET to both POLLHUP and POLLERR.
parent
feb97eaa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
socket.c
dlls/ws2_32/socket.c
+1
-1
sock.c
dlls/ws2_32/tests/sock.c
+1
-1
No files found.
dlls/ws2_32/socket.c
View file @
21dfab61
...
...
@@ -2974,7 +2974,7 @@ int WINAPI WSAPoll( WSAPOLLFD *fds, ULONG count, int timeout )
revents
|=
POLLRDBAND
;
if
(
params
->
sockets
[
j
].
flags
&
AFD_POLL_WRITE
)
revents
|=
POLLWRNORM
;
if
(
params
->
sockets
[
j
].
flags
&
AFD_POLL_HUP
)
if
(
params
->
sockets
[
j
].
flags
&
(
AFD_POLL_RESET
|
AFD_POLL_HUP
)
)
revents
|=
POLLHUP
;
if
(
params
->
sockets
[
j
].
flags
&
(
AFD_POLL_RESET
|
AFD_POLL_CONNECT_ERR
))
revents
|=
POLLERR
;
...
...
dlls/ws2_32/tests/sock.c
View file @
21dfab61
...
...
@@ -12871,7 +12871,7 @@ static void test_tcp_reset(void)
todo_wine
ok
(
ret
==
-
1
,
"got %d
\n
"
,
ret
);
todo_wine
ok
(
WSAGetLastError
()
==
WSAECONNRESET
,
"got error %u
\n
"
,
WSAGetLastError
());
check_poll
_todo
(
client
,
POLLERR
|
POLLHUP
|
POLLWRNORM
);
check_poll
(
client
,
POLLERR
|
POLLHUP
|
POLLWRNORM
);
FD_ZERO
(
&
readfds
);
FD_ZERO
(
&
writefds
);
...
...
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