aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix
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 /sysdeps/posix
parent682268efc0d49fdc9fe40296cef2e10f37bbbb09 (diff)
downloadglibc-e6eec9cef25016854597d632dbe80875720fc3ed.tar
glibc-e6eec9cef25016854597d632dbe80875720fc3ed.tar.gz
glibc-e6eec9cef25016854597d632dbe80875720fc3ed.tar.bz2
glibc-e6eec9cef25016854597d632dbe80875720fc3ed.zip
* 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.
Diffstat (limited to 'sysdeps/posix')
-rw-r--r--sysdeps/posix/getaddrinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index b668936095..221b41dd00 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);
}