* sysdeps/posix/getaddrinfo.c (gaih_inet): Set no_inet6_date alse
	if only PF_INET address is needed.

	* nss/getXXbyYY_r.c: Make sure we always return a nonzero value in
	case of an error.
This commit is contained in:
Ulrich Drepper
2003-06-12 22:31:43 +00:00
parent ad316adfa6
commit 2ce1a10fd6
8 changed files with 61 additions and 16 deletions
@@ -89,7 +89,11 @@ extern int __local_multiple_threads attribute_hidden;
# define SINGLE_THREAD_P __builtin_expect (__local_multiple_threads == 0, 1)
# else
# define SINGLE_THREAD_P \
ld 10,__local_multiple_threads@got(2); \
.section ".toc","aw"; \
.LC__local_multiple_threads:; \
.tc __local_multiple_threads[TC],__local_multiple_threads; \
.previous; \
ld 10,.LC__local_multiple_threads@toc(2); \
ld 10,0(10); \
cmpdi 10,0
# endif