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
683d46a2
Commit
683d46a2
authored
May 03, 2022
by
Zebediah Figura
Committed by
Alexandre Julliard
May 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Clear only returned events in IOCTL_AFD_GET_EVENTS.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ad078be4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
sock.c
dlls/ws2_32/tests/sock.c
+3
-3
sock.c
server/sock.c
+1
-1
No files found.
dlls/ws2_32/tests/sock.c
View file @
683d46a2
...
...
@@ -5659,7 +5659,7 @@ static void test_connect_events(struct event_test_ctx *ctx)
if
(
ctx
->
is_message
)
check_events
(
ctx
,
FD_WRITE
,
0
,
200
);
else
check_events
_todo
(
ctx
,
FD_CONNECT
,
0
,
200
);
check_events
(
ctx
,
FD_CONNECT
,
0
,
200
);
closesocket
(
client
);
closesocket
(
server
);
...
...
@@ -5896,7 +5896,7 @@ static void test_read_events(struct event_test_ctx *ctx)
check_events
(
ctx
,
0
,
0
,
0
);
select_events
(
ctx
,
server
,
FD_ACCEPT
|
FD_CONNECT
|
FD_OOB
|
FD_READ
|
FD_WRITE
);
check_events
_todo_event
(
ctx
,
FD_READ
,
FD_WRITE
,
200
);
check_events
(
ctx
,
FD_READ
,
FD_WRITE
,
200
);
check_events
(
ctx
,
0
,
0
,
0
);
ret
=
sync_recv
(
server
,
buffer
,
5
,
0
);
...
...
@@ -6111,7 +6111,7 @@ static void test_close_events(struct event_test_ctx *ctx)
check_events
(
ctx
,
0
,
0
,
200
);
select_events
(
ctx
,
server
,
FD_ACCEPT
|
FD_CLOSE
|
FD_CONNECT
|
FD_OOB
|
FD_READ
);
check_events
_todo_event
(
ctx
,
FD_CLOSE
,
0
,
200
);
check_events
(
ctx
,
FD_CLOSE
,
0
,
200
);
closesocket
(
server
);
}
...
...
server/sock.c
View file @
683d46a2
...
...
@@ -2516,7 +2516,7 @@ static void sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
params
.
status
);
++
i
)
params
.
status
[
i
]
=
sock_get_ntstatus
(
sock
->
errors
[
i
]
);
sock
->
pending_events
=
0
;
sock
->
pending_events
&=
~
sock
->
mask
;
sock_reselect
(
sock
);
set_reply_data
(
&
params
,
sizeof
(
params
)
);
...
...
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