glibc/locale
Ulrich Drepper ccadf7b534 Update.
2004-03-14  Ulrich Drepper  <drepper@redhat.com>

	Make the non-_l functions wrappers around the _l functions.
	* include/monetary.h: Declare __vstrmon_l.
	* include/string.h: Add libc_hidden_proto for __strcoll_l and
	__strxfrm_l.
	* include/time.h: Define ptime_locale_status.  Declare
	__strptime_internal.
	* include/wchar.h: Add libc_hidden_proto for __wcscoll_l and
	__wcsxfrm_l.
	* stdlib/strfmon.c: Move the code to strfmon_l.c.  Add little
	wrapper around __vstrfmon_l.
	* stdlib/strfmon_l.c: Add real implementation.  Split into new
	function __vstrfmon_l to allow calling it from strfmon.
	* stdlib/strtod.c: Move real code to strtod_l.c and add wrapper.
	* stdlib/strtod_l.c: Add real implementation.
	* stdlib/strtof.c: Adjust to changed strtod.c.
	* stdlib/strtof_l.c: Include strtod_l.c now.
	* stdlib/strtold.c: New file.
	* stdlib/strtold_l.c: Removed.
	* string/strcoll.c: Move real code to strcoll_l.c: Add wrapper.
	* string/strcoll_l.c: Add real implementation.
	* string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper.
	* string/strxfrm_l.c: Add real implementation.
	* sysdeps/generic/strtol.c: Move real implementation to strtol_l.c.
	Add wrappers.
	* sysdeps/generic/strtol_l.c: Add real implementation.
	* sysdeps/generic/strtold.c: Removed.
	* sysdeps/generic/strtold_l.c: New file.
	* sysdeps/generic/strtoll_l.c: Include strtol_l.c now.  Adjust
	#defines.
	* sysdeps/generic/strtoul_l.c: Likewise.
	* sysdeps/generic/strtoull_l.c: Likewise.
	* sysdeps/generic/wcstol_l.c: Likewise.
	* sysdeps/generic/wcstoll_l.c: Likewise.
	* sysdeps/generic/wcstoul_l.c: Likewise.
	* sysdeps/generic/wcstoull_l.c: Likewise.
	* sysdeps/ieee754/ldbl-128/strtold.c: Removed.
	* sysdeps/ieee754/ldbl-128/strtold_l.c: New file.
	* sysdeps/ieee754/ldbl-96/strtold.c: Removed.
	* sysdeps/ieee754/ldbl-96/strtold_l.c: New file.
	* sysdeps/m68k/strtold.c: Removed.
	* sysdeps/m68k/strtold_l.c: New file.
	* time/strftime.c: Move real code to strftime_l.c.  Add wrapper.
	* time/strftime_l.c: Add real implementation.
	* time/strptime.c: Move real code to strptime_l.c.  Add wrapper.
	* time/strptime_l.c: Add real implementation.
	* time/wcsftime.c: Simplify since only wrappers are defined in
	strftime.c.
	* time/wcsftime_l.c: Include strftime_l.c.
	* wcsmbs/wcscoll.c: Simplify since the file is not used by wcscoll_l.c
	anymore.
	* wcsmbs/wcscoll_l.c: Include strcoll_l.c.
	* wcsmbs/wcsxfrm.c: Simplify since the file is not used by wcsxfrm_l.c
	anymore.
	* wcsmbs/wcsxfrm_l.c: Include strxfrm_l.c.
	* wcsmbs/wcstod.c: Prepare to include new strtod.c.
	* wcsmbs/wcstod_l.c: Include strtod_l.c.
	* wcsmbs/wcstof.c: Prepare to include new strtof.c.
	* wcsmbs/wcstof_l.c: Include strtof_l.c.
	* wcsmbs/wcstold.c: Prepare to include new strtold.c.
	* wcsmbs/wcstold_l.c: Include strtold_l.c.

	* locale/uselocale.c: Use _NL_CURRENT_LOCALE instead of __libc_tsd_get.

	* sysdeps/generic/strcasecmp.c: Optimize a bit.  It's better to get
	a reference to the current locale and then use the _l functions.
	* sysdeps/generic/strncase.c: Likewise.
2004-03-14 21:12:06 +00:00
..
bits Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
programs Update. 2004-02-12 17:06:35 +00:00
.cvsignore Tue May 14 14:07:10 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-14 20:30:25 +00:00
C-address.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-collate.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-ctype.c Update. 2003-11-16 07:14:28 +00:00
C-identification.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-measurement.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-messages.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-monetary.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-name.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-numeric.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-paper.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-telephone.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-time.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
C-translit.h Regenerated 2003-04-06 22:16:16 +00:00
C-translit.h.in Update. 2002-04-20 07:58:48 +00:00
C_name.c Update. 2001-04-06 17:49:18 +00:00
Makefile * config.make.in (fno-unit-at-a-time): Define. 2003-12-02 07:37:28 +00:00
SYS_libc.c Update. 2002-04-08 08:59:00 +00:00
Versions * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. 2003-03-03 09:45:25 +00:00
broken_cur_max.c Update. 2002-03-14 20:48:50 +00:00
categories.def Update. 2003-11-16 07:14:28 +00:00
coll-lookup.c Update. 2003-06-13 21:05:42 +00:00
coll-lookup.h Update. 2003-06-13 21:05:42 +00:00
duplocale.c * locale/newlocale.c (__newlocale): If setting all categories to "C", 2002-10-11 07:22:18 +00:00
elem-hash.h Update. 2001-08-09 05:21:51 +00:00
findlocale.c Update. 2003-06-11 21:57:23 +00:00
freelocale.c * locale/newlocale.c (__newlocale): If setting all categories to "C", 2002-10-11 07:22:18 +00:00
gen-translit.pl Update. 2000-11-02 07:51:38 +00:00
global-locale.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
hashval.h Roland McGrath <roland@redhat.com> 2002-08-28 07:29:53 +00:00
indigits.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
indigitswc.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
iso-639.def Update. 2003-11-03 21:27:13 +00:00
iso-3166.def Three letter code of Romania changed. 2003-12-04 04:33:59 +00:00
iso-4217.def Update. 2003-11-26 07:40:32 +00:00
langinfo.h Update. 2003-11-16 07:14:28 +00:00
lc-address.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-collate.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-ctype.c 2003-10-31 Roland McGrath <roland@redhat.com> 2003-10-31 23:35:21 +00:00
lc-identification.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-measurement.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-messages.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-monetary.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-name.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-numeric.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-paper.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-telephone.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lc-time.c * locale/lc-time.c (_nl_init_era_entries, _nl_get_era_entry, 2002-08-28 23:11:21 +00:00
loadarchive.c Update. 2003-09-12 22:37:19 +00:00
loadlocale.c Update. 2003-09-03 09:26:15 +00:00
locale.h Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
localeconv.c 2002-09-02 Roland McGrath <roland@redhat.com> 2002-09-03 02:33:03 +00:00
localeinfo.h Update. 2003-11-16 07:14:28 +00:00
localename.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
locarchive.h * locale/locarchive.h (struct locale_category_data): Give this name to 2002-08-15 07:02:19 +00:00
mb_cur_max.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
newlocale.c * locale/newlocale.c (__newlocale): If setting all categories to "C", 2002-10-11 07:22:18 +00:00
nl_langinfo.c * locale/nl_langinfo.c [NL_CURRENT_INDIRECT]: Use a categories.def 2002-08-29 02:18:11 +00:00
nl_langinfo_l.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
outdigits.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
outdigitswc.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
setlocale.c Update. 2003-12-31 22:46:53 +00:00
strlen-hash.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-C-locale.c Use test-skeleton.c. 2003-03-17 19:21:04 +00:00
uselocale.c Update. 2004-03-14 21:12:06 +00:00
weight.h Update. 2003-06-11 21:57:23 +00:00
weightwc.h Update. 2003-06-13 21:05:42 +00:00
xlocale.c * locale/xlocale.h (struct __locale_struct): New member `__names'. 2002-08-30 10:36:44 +00:00
xlocale.h * locale/newlocale.c (__newlocale): Don't use strdup for names. 2002-08-31 20:08:18 +00:00