mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
Fix blocking connections on MS-Windows (Bug#20159)
src/w32.c (sys_connect): Fix a mistake in previous commit that broke blocking connections.
This commit is contained in:
parent
01d1024bec
commit
7dc565a2cf
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2015-03-28 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32.c (sys_connect): Fix a mistake in previous commit that broke
|
||||
blocking connections. (Bug#20159)
|
||||
|
||||
2015-03-27 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Avoid some core dumps in X session management
|
||||
|
|
|
|||
|
|
@ -7489,8 +7489,8 @@ sys_connect (int s, const struct sockaddr * name, int namelen)
|
|||
errno = EINPROGRESS; /* that's what process.c expects */
|
||||
fd_info[s].flags |= FILE_CONNECT;
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
errno = ENOTSOCK;
|
||||
return SOCKET_ERROR;
|
||||
|
|
|
|||
Loading…
Reference in a new issue