aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-09-24 15:18:25 +0000
committerJakub Jelinek <jakub@redhat.com>2007-09-24 15:18:25 +0000
commite6eec9cef25016854597d632dbe80875720fc3ed (patch)
tree03533389646fa2577eaffb6ee3db781143ceedc8
parent682268efc0d49fdc9fe40296cef2e10f37bbbb09 (diff)
downloadglibc-e6eec9cef25016854597d632dbe80875720fc3ed.zip
glibc-e6eec9cef25016854597d632dbe80875720fc3ed.tar.gz
glibc-e6eec9cef25016854597d632dbe80875720fc3ed.tar.bz2
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Use
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.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/posix/getaddrinfo.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f6c9266..122201c 100644
--- 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]
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index b668936..221b41d 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -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);
}