mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
363a6e9f2c
gdb/ * ser-tcp.c (net_open): Check error return from socket() call by its equality to -1 not by it being negative. (net_close): Likewise. gdb/gdbserver/ * gdbreplay.c (remote_open): Check error return from socket() call by its equality to -1 not by it being negative. * remote-utils.c (remote_open): Likewise. sim/arm/ * communicate.c (MYread_char): Check error return from accept() call by its equality to -1 not by it being negative. (MYread_charwait): Likewise. * main.c (main): Likewise for both socket() and accept() calls. sim/common/ * dv-sockser.c (dv_sockser_init): Check error return from socket() call by its equality to -1 not by it being negative. (connected_p): Likewise for accept() call. sim/cris/ * dv-rv.c (hw_rv_init_socket): Check error return from socket() call by its equality to -1 not by it being negative. (hw_rv_write): Likewise. (hw_rv_handle_incoming): Likewise. (hw_rv_poll_once): Likewise. * rvdummy.c (setupsocket): Likewise. (main): Likewise for accept() call as returned from setupsocket(). sim/m32c/ * main.c (setup_tcp_console): Check error return from socket() call by its equality to -1 not by it being negative.
14 lines
464 B
Plaintext
14 lines
464 B
Plaintext
2010-05-26 Ozkan Sezer <sezeroz@gmail.com>
|
|
|
|
* dv-rv.c (hw_rv_init_socket): Check error return from socket() call
|
|
by its equality to -1 not by it being negative.
|
|
(hw_rv_write): Likewise.
|
|
(hw_rv_handle_incoming): Likewise.
|
|
(hw_rv_poll_once): Likewise.
|
|
* rvdummy.c (setupsocket): Likewise.
|
|
(main): Likewise for accept() call as returned from setupsocket().
|
|
|
|
2010-03-30 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
* devices.c (device_error): Add const to message.
|