glibc/stdlib
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
..
sys Update. 2002-07-20 01:14:41 +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
a64l.c * stdlib/a64l.c: Expect least significant digit first. 2001-10-25 10:20:40 +00:00
abs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
alloca.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
atexit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
atof.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
atoi.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
atol.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
atoll.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
bsearch.c * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. 2002-08-03 12:59:33 +00:00
bug-strtod.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
canonicalize.c Update. 2004-03-10 09:29:17 +00:00
cxa_atexit.c Update. 2002-04-09 20:36:24 +00:00
cxa_finalize.c Update. 2003-04-19 18:26:10 +00:00
drand48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
drand48-iter.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
drand48.c Update. 2002-03-12 20:04:56 +00:00
erand48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
erand48.c Update. 2002-03-12 20:04:56 +00:00
errno.h Update. 2002-07-20 01:14:41 +00:00
exit.c * include/sys/syslog.h: Use libc_hidden_proto for syslog, vsyslog. 2002-08-03 12:59:33 +00:00
exit.h Update. 2002-03-12 20:04:56 +00:00
fmtmsg.c (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00
fmtmsg.h (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00
fpioconst.c * elf/dl-load.c (_dl_map_object_from_fd): Bail if no PT_LOAD phdrs 2003-03-14 03:59:59 +00:00
fpioconst.h * stdlib/fpioconst.h: Include gmp.h with angle brackets. 2003-03-14 04:21:27 +00:00
gen-mpn-copy Mon Dec 4 12:10:28 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu> 1995-12-04 19:00:50 +00:00
getsubopt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gmp-impl.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
gmp.h 2002-08-26 Brian Youmans <3diff@gnu.org> 2002-08-26 22:40:48 +00:00
grouping.c Update. 2003-06-11 23:22:36 +00:00
grouping.h Update. 2003-06-11 23:22:36 +00:00
groupingwc.c Update. 2003-06-11 23:22:36 +00:00
isomac.c (get_null_defines): Treat NOT_IN_libc special. It is known to be defined. 2002-08-08 04:44:47 +00:00
jrand48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
jrand48.c Update. 2002-03-12 20:04:56 +00:00
l64a.c * stdlib/a64l.c: Expect least significant digit first. 2001-10-25 10:20:40 +00:00
lcong48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
lcong48.c Update. 2002-03-12 20:04:56 +00:00
longlong.h * stdlib/longlong.h (__udiv_qrnnd): Remove PARAMS from prototype. 2002-09-29 12:35:09 +00:00
lrand48_r.c 2002-08-04 Roland McGrath <roland@redhat.com> 2002-08-05 02:18:42 +00:00
lrand48.c Update. 2002-03-12 20:04:56 +00:00
Makefile Update. 2004-02-23 23:30:12 +00:00
mblen.c * locale/localeinfo.h (struct locale_data): Add private.ctype. 2002-09-02 19:34:39 +00:00
mbstowcs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mbtowc.c * locale/localeinfo.h (struct locale_data): Add private.ctype. 2002-09-02 19:34:39 +00:00
monetary.h * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. 2002-08-27 23:36:31 +00:00
mrand48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
mrand48.c Update. 2002-03-12 20:04:56 +00:00
msort.c Update. 2004-02-07 15:57:44 +00:00
nrand48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
nrand48.c Update. 2002-03-12 20:04:56 +00:00
old_atexit.c Update. 2004-03-10 09:29:17 +00:00
on_exit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
qsort.c [BZ #16] 2004-03-10 06:46:51 +00:00
rand_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rand.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
random_r.c Update. 2002-07-06 06:36:39 +00:00
random.c * iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99. 2002-12-16 02:05:36 +00:00
rpmatch.c Update. 2003-06-11 23:22:36 +00:00
secure-getenv.c Update. 2002-08-03 07:02:10 +00:00
seed48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
seed48.c Update. 2002-03-12 20:04:56 +00:00
srand48_r.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
srand48.c Update. 2002-03-12 20:04:56 +00:00
stdlib.h (CFLAGS-oldtmpfile.c): Add -fexceptions. 2003-09-02 07:14:15 +00:00
strfmon_l.c Update. 2004-03-14 21:12:06 +00:00
strfmon.c Update. 2004-03-14 21:12:06 +00:00
strtod_l.c Update. 2004-03-14 21:12:06 +00:00
strtod.c Update. 2004-03-14 21:12:06 +00:00
strtof_l.c Update. 2004-03-14 21:12:06 +00:00
strtof.c Update. 2004-03-14 21:12:06 +00:00
strtold.c Update. 2004-03-14 21:12:06 +00:00
test-a64l.c Update. 2002-02-14 09:25:02 +00:00
test-canon2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-canon.c Update. 2004-02-17 07:08:51 +00:00
testdiv.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
testdiv.input initial import 1995-02-18 01:27:10 +00:00
testmb2.c Update. 2004-02-23 23:30:12 +00:00
testmb.c Update. 1998-04-15 17:02:23 +00:00
testrand.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
testsort.c Update. 2000-12-05 08:17:58 +00:00
tst-bsearch.c Update. 2003-09-17 08:47:44 +00:00
tst-environ.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-fmtmsg.c Update. 2000-10-27 23:37:52 +00:00
tst-fmtmsg.sh Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
tst-limits.c Update. 2003-07-31 19:26:38 +00:00
tst-qsort.c Update. 2003-09-17 18:23:49 +00:00
tst-rand48.c Update. 2001-01-20 04:33:16 +00:00
tst-random.c Update. 2001-08-23 23:36:47 +00:00
tst-setcontext.c * stdlib/tst-setcontext.c (main): If makecontext does nothing, 2002-08-31 03:21:56 +00:00
tst-strtod.c Update. 2003-06-25 14:21:44 +00:00
tst-strtol.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-strtoll.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-system.c Update. 2002-12-17 06:52:45 +00:00
tst-xpg-basename.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
ucontext.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
Versions Update. 2002-07-11 16:34:20 +00:00
wcstombs.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
wctomb.c * locale/localeinfo.h (struct locale_data): Add private.ctype. 2002-09-02 19:34:39 +00:00
xpg_basename.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00