From 8114530a31e03aec4085f79971c2a3b9e940eae3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 17 Jul 2000 22:09:30 +0000 Subject: Update. 2000-07-17 Bruno Haible * iconv/gconv_open.c (__gconv_open): Initialize the __data field of struct __gconv_trans_data differently. Don't pass NULL to trans_init_fct. Simplify list append operation. 2000-07-14 Bruno Haible * intl/dcigettext.c (dcigettext): Call plural_eval on all platforms, not only those having tsearch. 2000-07-17 Ulrich Drepper * locale/langinfo.h: Add placeholder values in enum for removed LC_CTYPE entries. 2000-07-17 Jakub Jelinek * elf/dl-addr.c (_dl_addr): Keep searching in the _dl_loaded chain if the PHDR check fails. 2000-07-17 Mark Kettenis * nss/getent.c (print_hosts): Make sure we always print a space between numeric addresses and hostnames. 2000-07-17 Wolfram Gloger * malloc/malloc.c (chunk_alloc): Use mmap_chunk() only if allowed, i.e. if n_mmaps_max>0. 2000-07-16 Mark Kettenis * resolv/netdb.h (AI_V4MAPPED, AI_ALL, AI_ADDRCONFIG): Adjust values to remove possible clash with other AI_* constants. (AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST): Define as hexadecimal constants to stress the fact they're in fact bit flags. 2000-07-15 Mark Kettenis * nss/getXXent_r.c [NEED__RES]: Include . (SETFUNC_NAME, ENDFUNC_NAME, REENTRANT_GETNAME): Use res_ninit instead of res_init. --- resolv/netdb.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'resolv') diff --git a/resolv/netdb.h b/resolv/netdb.h index f8ae4f2..e0331db 100644 --- a/resolv/netdb.h +++ b/resolv/netdb.h @@ -149,9 +149,9 @@ extern struct hostent *getipnodebyaddr (__const void *__addr, socklen_t __len, extern struct hostent *getipnodebyname (__const char *__name, int __type, int __flags, int *__error_num) __THROW; -# define AI_V4MAPPED 1 /* IPv4-mapped addresses are acceptable. */ -# define AI_ALL 2 /* Return both IPv4 and IPv6 addresses. */ -# define AI_ADDRCONFIG 4 /* Use configuration of this host to choose +# define AI_V4MAPPED 0x0008 /* IPv4-mapped addresses are acceptable. */ +# define AI_ALL 0x0010 /* Return both IPv4 and IPv6 addresses. */ +# define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose returned address type. */ # define AI_DEFAULT (AI_V4MAPPED | AI_ADDRCONFIG) @@ -437,9 +437,9 @@ struct addrinfo }; /* Possible values for `ai_flags' field in `addrinfo' structure. */ -# define AI_PASSIVE 1 /* Socket address is intended for `bind'. */ -# define AI_CANONNAME 2 /* Request for canonical name. */ -# define AI_NUMERICHOST 4 /* Don't use name resolution. */ +# define AI_PASSIVE 0x0001 /* Socket address is intended for `bind'. */ +# define AI_CANONNAME 0x0002 /* Request for canonical name. */ +# define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */ /* Error values for `getaddrinfo' function. */ # define EAI_BADFLAGS -1 /* Invalid value for `ai_flags' field. */ -- cgit v1.1