From ca6c73895da003ccea1b7e8ef2b32c98746812aa Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 27 Oct 2001 00:23:28 +0000 Subject: Update. 2001-10-26 Ulrich Drepper * string/strxfrm.c [USE_IN_EXTENDED_LOCALE_MODEL]: Correctly get nrules value. 2001-10-24 H.J. Lu * sysdeps/generic/bits/dlfcn.h (DL_CALL_FCT): Cast to void *. Use __BEGIN_DECLS/__END_DECLS around prototypes. * sysdeps/mips/bits/dlfcn.h (DL_CALL_FCT): Likewise. 2001-10-21 Jim Meyering * malloc/obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise, this code would end up calling gettext even in packages built with --disable-nls. * posix/getopt.c (_): Likewise. * posix/regex.c (_): Likewise. 2001-10-26 Ulrich Drepper * resolv/gethnamaddr.c (gethostbyaddr): Use ip6.addr for reverse lookup not ip6.int. * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Likewise. Reported by Martin.v.Loewis@t-online.de [PR libc/2598]. 2001-10-19 Jakub Jelinek * misc/sys/cdefs.h (__attribute_used__): Define. * elf/rtld.c (_dl_start): Add __attribute_used__. * elf/dl-runtime.c (fixup, profile_fixup): Likewise. --- posix/getopt.c | 2 +- posix/regex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'posix') diff --git a/posix/getopt.c b/posix/getopt.c index df7127e478..58ba10431c 100644 --- a/posix/getopt.c +++ b/posix/getopt.c @@ -78,7 +78,7 @@ #ifndef _ /* This is for other GNU distributions with internationalized messages. */ -# if defined HAVE_LIBINTL_H || defined _LIBC +# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifndef _ # define _(msgid) gettext (msgid) diff --git a/posix/regex.c b/posix/regex.c index facb833f58..1435a809aa 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -91,7 +91,7 @@ # endif /* This is for other GNU distributions with internationalized messages. */ -# if HAVE_LIBINTL_H || defined _LIBC +# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC # include # ifdef _LIBC # undef gettext -- cgit v1.2.3-70-g09d2