1835 |
/* This used to select on exceptions too, but as far |
/* This used to select on exceptions too, but as far |
1836 |
as I know there was never any reason to do that and |
as I know there was never any reason to do that and |
1837 |
SCO doesn't let you select on exceptions on pipes. */ |
SCO doesn't let you select on exceptions on pipes. */ |
1838 |
numfds = select (fb->fd + 1, &readfds, NULL, NULL, NULL); |
numfds = fd_select (fb->fd + 1, &readfds, NULL, NULL, NULL); |
1839 |
if (numfds < 0 && errno != EINTR) |
if (numfds < 0 && errno != EINTR) |
1840 |
{ |
{ |
1841 |
status = errno; |
status = errno; |