diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-04 02:32:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-04 02:32:32 +0000 |
commit | dc18d4d8e4bac967ff29853d2d8cab191d82d535 (patch) | |
tree | 7bea3a9b85ee2162f186725b3665168a9ff42052 | |
parent | 30c14c31ae6ac7c8db692fc23d0901e4d479f7af (diff) | |
download | glibc-dc18d4d8e4bac967ff29853d2d8cab191d82d535.tar glibc-dc18d4d8e4bac967ff29853d2d8cab191d82d535.tar.gz glibc-dc18d4d8e4bac967ff29853d2d8cab191d82d535.tar.bz2 glibc-dc18d4d8e4bac967ff29853d2d8cab191d82d535.zip |
* locale/nl_langinfo.c: Use _NL_CURRENT_DATA.
* elf/Makefile (CFLAGS-vismod2.c): New variable.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | elf/Makefile | 2 | ||||
-rw-r--r-- | locale/nl_langinfo.c | 4 |
3 files changed, 8 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2002-08-03 Roland McGrath <roland@redhat.com> + * locale/nl_langinfo.c: Use _NL_CURRENT_DATA. + + * elf/Makefile (CFLAGS-vismod2.c): New variable. + * locale/setlocale.c (_nl_current_names): Variable moved ... * locale/localename.c (_nl_current_names): ... here, new file. Make it global, with attribute_hidden. diff --git a/elf/Makefile b/elf/Makefile index 71610a62bf..9c495331b2 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -147,6 +147,8 @@ modules-nodelete-yes = nodelmod1 nodelmod2 nodelmod3 nodelmod4 modules-nodlopen-yes = nodlopenmod nodlopenmod2 extra-objs += $(addsuffix .os,$(strip $(modules-names))) +CFLAGS-vismod2.c := -DNOT_IN_libc + include ../Rules ifeq (yes,$(build-shared)) diff --git a/locale/nl_langinfo.c b/locale/nl_langinfo.c index 7b62c73c63..acaa50046e 100644 --- a/locale/nl_langinfo.c +++ b/locale/nl_langinfo.c @@ -1,5 +1,5 @@ /* User interface for extracting locale-dependent parameters. - Copyright (C) 1995,1996,1997,1999,2000,2001 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,99,2000,01,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -48,7 +48,7 @@ nl_langinfo (item) #ifdef USE_IN_EXTENDED_LOCALE_MODEL data = l->__locales[category]; #else - data = *_nl_current[category]; + data = _NL_CURRENT_DATA (category); #endif if (index >= data->nstrings) |