* sysdeps/posix/getaddrinfo.c (getaddrinfo): Use
authorJakub Jelinek <jakub@redhat.com>
Mon, 24 Sep 2007 15:18:25 +0000 (15:18 +0000)
committerJakub Jelinek <jakub@redhat.com>
Mon, 24 Sep 2007 15:18:25 +0000 (15:18 +0000)
close_not_cancel_no_status instead of close.
2007-09-24  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/posix/getaddrinfo.c (getaddrinfo): Use
close_not_cancel_no_status instead of close.

ChangeLog
sysdeps/posix/getaddrinfo.c

index f6c9266..122201c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-09-24  Jakub Jelinek  <jakub@redhat.com>
+
+       * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use
+       close_not_cancel_no_status instead of close.
+
 2007-09-13  Aurelien Jarno  <aurelien@aurel32.net>
 
        [BZ #5028]
index b668936..221b41d 100644 (file)
@@ -1975,7 +1975,7 @@ getaddrinfo (const char *name, const char *service,
                {
                  if (fd != -1)
                  close_retry:
-                   close (fd);
+                   close_not_cancel_no_status (fd);
                  af = q->ai_family;
                  fd = __socket (af, SOCK_DGRAM, IPPROTO_IP);
                }