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
a6203f8b
Commit
a6203f8b
authored
Jul 27, 2010
by
Mike Kaplinskiy
Committed by
Alexandre Julliard
Jul 28, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Fix some comments.
Apparently windows reports only currently valid events for WSAEnumNetworkEvents.
parent
93db86a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
sock.c
dlls/ws2_32/tests/sock.c
+0
-3
sock.c
server/sock.c
+3
-1
No files found.
dlls/ws2_32/tests/sock.c
View file @
a6203f8b
...
...
@@ -3126,9 +3126,6 @@ static void test_events(int useMessages)
ok
(
ret
==
2
,
"Failed to send buffer %d err %d
\n
"
,
ret
,
GetLastError
());
broken_seq
[
0
]
=
read_read_seq
;
/* win9x */
broken_seq
[
1
]
=
NULL
;
/* we like to erase pmask in server, so we have varying behavior here *
* it is only fixed for now because we refuse to send notifications with
* any kind of asyncs requests running */
ok_event_seq
(
src
,
hEvent
,
empty_seq
,
broken_seq
,
0
);
dwRet
=
WaitForSingleObject
(
ov
.
hEvent
,
100
);
...
...
server/sock.c
View file @
a6203f8b
...
...
@@ -961,7 +961,9 @@ DECL_HANDLER(enable_socket_event)
FILE_WRITE_ATTRIBUTES
,
&
sock_ops
)))
return
;
sock
->
pmask
&=
~
req
->
mask
;
/* is this safe? */
/* for event-based notification, windows erases stale events */
sock
->
pmask
&=
~
req
->
mask
;
sock
->
hmask
&=
~
req
->
mask
;
sock
->
state
|=
req
->
sstate
;
sock
->
state
&=
~
req
->
cstate
;
...
...
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