From 0cebbf519716b48332b21fb7c8238cd14c6b9751 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 6 Aug 1999 16:35:33 +0000 Subject: Update. 1999-08-06 Ulrich Drepper * resolv/res_send.c (res_send): Don't test file descriptor for range, we use poll now. [PR libc/1240] --- resolv/res_send.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resolv') diff --git a/resolv/res_send.c b/resolv/res_send.c index 0c67d507bf..36915808e1 100644 --- a/resolv/res_send.c +++ b/resolv/res_send.c @@ -623,11 +623,13 @@ read_len: if (timeout <= 0) timeout = 1000; wait: +#if 0 if (s < 0 || s >= FD_SETSIZE) { Perror(stderr, "s out-of-bounds", EMFILE); res_close_internal(); goto next_ns; } +#endif pfd[0].fd = s; pfd[0].events = POLLIN; n = __poll(pfd, 1, timeout); -- cgit 1.4.1