Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
66109294
Commit
66109294
authored
Jun 07, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32/tests: Test passing an output buffer to FIONBIO.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
aadcff49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sock.c
dlls/ws2_32/tests/sock.c
+6
-0
No files found.
dlls/ws2_32/tests/sock.c
View file @
66109294
...
...
@@ -3899,6 +3899,7 @@ static void test_fionbio(void)
u_long
one
=
1
,
zero
=
0
;
HANDLE
port
,
event
;
ULONG_PTR
key
;
void
*
output
;
DWORD
size
;
SOCKET
s
;
int
ret
;
...
...
@@ -3931,6 +3932,11 @@ static void test_fionbio(void)
ret
=
WSAIoctl
(
s
,
FIONBIO
,
&
one
,
sizeof
(
one
)
+
1
,
NULL
,
0
,
&
size
,
NULL
,
NULL
);
ok
(
!
ret
,
"got error %u
\n
"
,
WSAGetLastError
());
output
=
VirtualAlloc
(
NULL
,
4
,
MEM_RESERVE
|
MEM_COMMIT
,
PAGE_NOACCESS
);
ret
=
WSAIoctl
(
s
,
FIONBIO
,
&
one
,
sizeof
(
one
)
+
1
,
output
,
4
,
&
size
,
NULL
,
NULL
);
todo_wine
ok
(
!
ret
,
"got error %u
\n
"
,
WSAGetLastError
());
VirtualFree
(
output
,
0
,
MEM_FREE
);
overlapped
.
Internal
=
0xdeadbeef
;
overlapped
.
InternalHigh
=
0xdeadbeef
;
size
=
0xdeadbeef
;
...
...
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