diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-02-15 11:01:13 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-02-15 11:01:13 +0200 |
commit | bcf7fe2aeff7e3aacbfae08ca6001f7615a06709 (patch) | |
tree | cf9259731e5331bd8ca469c5107f13e713d8d28b /lisp/replace.el | |
parent | 974c7646ec5b2985a50007c9d599154d667df349 (diff) | |
download | emacs-bcf7fe2aeff7e3aacbfae08ca6001f7615a06709.tar.gz emacs-bcf7fe2aeff7e3aacbfae08ca6001f7615a06709.tar.bz2 emacs-bcf7fe2aeff7e3aacbfae08ca6001f7615a06709.zip |
Improve error reporting as part of solving bug #13546 on MS-Windows.
src/w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname)
(sys_gethostbyname, sys_getservbyname, sys_getpeername)
(sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname)
(sys_accept, sys_recvfrom, sys_sendto, fcntl): In case of failure,
make sure errno is set to an appropriate value. (Bug#13546)
(socket_to_fd): Add assertion against indexing fd_info[] with a
value that is out of bounds.
(sys_accept): If fd is negative, do not set up the child_process
structure for reading.
Diffstat (limited to 'lisp/replace.el')
0 files changed, 0 insertions, 0 deletions