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
d8f962e6
Commit
d8f962e6
authored
Jul 24, 2009
by
Rein Klazes
Committed by
Alexandre Julliard
Jul 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Do not make the unix file descriptor blocking. Too many places in the…
ws2_32: Do not make the unix file descriptor blocking. Too many places in the socket code assume it is not.
parent
f3d24fdd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
socket.c
dlls/ws2_32/socket.c
+1
-15
No files found.
dlls/ws2_32/socket.c
View file @
d8f962e6
...
...
@@ -2406,25 +2406,11 @@ int WINAPI WS_ioctlsocket(SOCKET s, LONG cmd, WS_u_long *argp)
SetLastError
(
WSAEINVAL
);
return
SOCKET_ERROR
;
}
fd
=
get_sock_fd
(
s
,
0
,
NULL
);
if
(
fd
!=
-
1
)
{
int
ret
;
if
(
*
argp
)
{
_enable_event
(
SOCKET2HANDLE
(
s
),
0
,
FD_WINE_NONBLOCKING
,
0
);
ret
=
fcntl
(
fd
,
F_SETFL
,
O_NONBLOCK
);
}
else
{
_enable_event
(
SOCKET2HANDLE
(
s
),
0
,
0
,
FD_WINE_NONBLOCKING
);
ret
=
fcntl
(
fd
,
F_SETFL
,
0
);
}
release_sock_fd
(
s
,
fd
);
if
(
!
ret
)
return
0
;
SetLastError
((
errno
==
EBADF
)
?
WSAENOTSOCK
:
wsaErrno
());
}
return
SOCKET_ERROR
;
return
0
;
case
WS_SIOCATMARK
:
newcmd
=
SIOCATMARK
;
...
...
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