If ENABLE_CHECKING, range-check args of FD_CLR, FD_ISSET, FD_SET.
commit5897da1d746561c63719b21c5984b49a194f8209
authorPaul Eggert <eggert@penguin.cs.ucla.edu>
Tue, 3 Jun 2014 16:15:43 +0000 (3 09:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jun 2014 16:15:43 +0000 (3 09:15 -0700)
tree17fd7644af53ef0fb0cee898c5516a8be3141236
parent221e0a20f60027c6e393166b7b3d18e01d704fa3
If ENABLE_CHECKING, range-check args of FD_CLR, FD_ISSET, FD_SET.

* process.c (add_read_fd, delete_read_fd, add_write_fd)
(delete_write_fd, wait_reading_process_output):
Remove now-redundant easserts.
* sysselect.h (SYSSELECT_H): New macro, to avoid double-inclusion woes.
Use INLINE_HEADER_BEGIN, INLINE_HEADER_END.
(fd_CLR, fd_ISSET, fd_SET): New inline functions.
(FD_CLR, FD_ISSET, FD_SET): Redefine in terms of these functions.
src/ChangeLog
src/process.c
src/sysselect.h