1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
1999-09-04  Ulrich Drepper  <drepper@cygnus.com>

	* sysdeps/unix/sysv/linux/getaddrinfo.c: Little optimization.

1999-09-03  Andreas Schwab  <schwab@suse.de>

	* sysdeps/unix/sysv/linux/syscalls.list: Rename strong name for
	fork from __syscall_fork to __libc_fork.
	* posix/Versions: Add __libc_fork and __vfork to version
	GLIBC_2.1.2.
This commit is contained in:
Ulrich Drepper
1999-09-05 00:08:27 +00:00
parent 9cb6e8783c
commit 4fe53b3aba
7 changed files with 38 additions and 7 deletions

View File

@@ -238,8 +238,7 @@ gaih_inet_serv (const char *servicename, struct gaih_typeproto *tp,
return -EAI_MEMORY; \
rc = __gethostbyname2_r (name, _family, &th, tmpbuf, \
tmpbuflen, &h, &herrno); \
} while ((rc != 0) && \
(herrno == NETDB_INTERNAL) && (errno == ERANGE)); \
} while (rc == ERANGE && herrno == NETDB_INTERNAL); \
if ((rc != 0) && (herrno == NETDB_INTERNAL)) \
{ \
__set_h_errno (herrno); \