about summary refs log tree commit diff
path: root/resolv/res_send.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-06 16:35:33 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-06 16:35:33 +0000
commit0cebbf519716b48332b21fb7c8238cd14c6b9751 (patch)
tree0b163a20b056cb87e12a77eb2a98a828bc7abd81 /resolv/res_send.c
parent6eead9b470f12de97402d3c59a76b0ffb85c5f5b (diff)
downloadglibc-0cebbf519716b48332b21fb7c8238cd14c6b9751.tar.gz
glibc-0cebbf519716b48332b21fb7c8238cd14c6b9751.tar.xz
glibc-0cebbf519716b48332b21fb7c8238cd14c6b9751.zip
Update.
1999-08-06  Ulrich Drepper  <drepper@cygnus.com>

	* resolv/res_send.c (res_send): Don't test file descriptor for
	range, we use poll now.  [PR libc/1240]
Diffstat (limited to 'resolv/res_send.c')
-rw-r--r--resolv/res_send.c2
1 files changed, 2 insertions, 0 deletions
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);