]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 6 Aug 1999 16:35:33 +0000 (16:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Aug 1999 16:35:33 +0000 (16:35 +0000)
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]

ChangeLog
resolv/res_send.c

index cc18f0dedbed4f4de48d8b54f194089535b12931..031eb9bb6ba5aec0603085a9ce17c4ddcd8b8125 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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]
+
 1999-08-05  Ulrich Drepper  <drepper@cygnus.com>
 
        * libio/genops.c (_IO_flush_all): Don't access elements beyond what
index 0c67d507bf23cf0c82b54c54f68126d6f98d49ee..36915808e13765e12937a2d593c8fec44896d959 100644 (file)
@@ -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);