diff options
| author | Eli Zaretskii | 2013-02-15 11:01:13 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-02-15 11:01:13 +0200 |
| commit | bcf7fe2aeff7e3aacbfae08ca6001f7615a06709 (patch) | |
| tree | cf9259731e5331bd8ca469c5107f13e713d8d28b /src/ChangeLog | |
| parent | 974c7646ec5b2985a50007c9d599154d667df349 (diff) | |
| download | emacs-bcf7fe2aeff7e3aacbfae08ca6001f7615a06709.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 46a466d060d..47a55535870 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2013-02-15 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname) | ||
| 4 | (sys_gethostbyname, sys_getservbyname, sys_getpeername) | ||
| 5 | (sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname) | ||
| 6 | (sys_accept, sys_recvfrom, sys_sendto, fcntl): In case of failure, | ||
| 7 | make sure errno is set to an appropriate value. (Bug#13546) | ||
| 8 | (socket_to_fd): Add assertion against indexing fd_info[] with a | ||
| 9 | value that is out of bounds. | ||
| 10 | (sys_accept): If fd is negative, do not set up the child_process | ||
| 11 | structure for reading. | ||
| 12 | |||
| 1 | 2013-02-14 Paul Eggert <eggert@cs.ucla.edu> | 13 | 2013-02-14 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 14 | ||
| 3 | Backport GCPRO fix from trunk (Bug#13650). | 15 | Backport GCPRO fix from trunk (Bug#13650). |