glibc/sysdeps
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
..
alpha Update. 2004-03-10 06:05:14 +00:00
am29k Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
arm Update. 2004-03-05 10:29:47 +00:00
cris Update. 2003-09-24 21:13:55 +00:00
generic Update. 2004-03-14 21:12:06 +00:00
gnu * sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ... 2003-05-03 09:08:37 +00:00
hppa Update. 2004-02-21 02:10:52 +00:00
i386 Update. 2004-03-10 19:28:58 +00:00
i860 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
i960 Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ia64 Update. 2004-03-07 08:39:57 +00:00
ieee754 Update. 2004-03-14 21:12:06 +00:00
m68k Update. 2004-03-14 21:12:06 +00:00
m88k Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
mach 2004-03-08 Jeroen Dekkers <jeroen@dekkers.cx> 2004-03-08 20:38:11 +00:00
mips 2003-09-08 Chris Demetriou <cgd@broadcom.com> 2003-09-09 20:10:35 +00:00
posix Implement AI_CANONIDN. 2004-03-13 06:53:42 +00:00
powerpc Update. 2004-03-11 21:59:36 +00:00
pthread Update. 2003-08-14 00:14:43 +00:00
rs6000 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00
s390 Update. 2004-03-11 09:39:56 +00:00
sh Update. 2004-03-10 19:28:58 +00:00
sparc Update. 2004-03-10 06:05:14 +00:00
standalone Update. 2002-08-03 07:02:10 +00:00
tahoe update from main archive 960909 1996-09-10 02:00:15 +00:00
unix * sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate oldvalue from CENABLE to CDISABLE. 2004-03-13 05:29:45 +00:00
vax Update. 2002-12-31 20:46:11 +00:00
wordsize-32 Update. 2004-03-08 21:31:23 +00:00
wordsize-64 * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change. 2003-03-03 09:45:25 +00:00
x86_64 Update. 2004-03-10 06:05:14 +00:00
z8000 Put under LGPL v2.1. 2001-07-07 10:13:33 +00:00