* 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.
This commit is contained in:
Jakub Jelinek 2007-09-24 15:18:25 +00:00
parent 682268efc0
commit e6eec9cef2
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View 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);
}