glibc/stdlib
Roland McGrath c877418f2e * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn):
New macros.
	* elf/dl-close.c (free_mem): Use libc_freeres_fn macro, remove
	text_set_element.
	* elf/dl-libc.c (free_mem): Likewise.
	* iconv/gconv_conf.c (free_mem): Likewise.
	* iconv/gconv_db.c (free_mem): Likewise.
	* iconv/gconv_dl.c (free_mem): Likewise.
	* iconv/gconv_cache.c (free_mem): Likewise.
	* intl/finddomain.c (free_mem): Likewise.
	* intl/dcigettext.c (free_mem): Likewise.
	* locale/setlocale.c (free_mem): Likewise.
	* misc/fstab.c (fstab_free): Likewise.
	* nss/nsswitch.c (free_mem): Likewise.
	* posix/regcomp.c (free_mem): Likewise.
	* resolv/gai_misc.c (free_res): Likewise.
	* stdlib/fmtmsg.c (free_mem): Likewise.
	* sunrpc/clnt_perr.c (free_mem): Likewise.
	* sysdeps/generic/setenv.c (free_mem): Likewise.
	* sysdeps/unix/sysv/linux/shm_open.c (freeit): Likewise.
	* sysdeps/pthread/aio_misc.c (free_res): Likewise.
	* time/tzset.c (free_mem): Likewise.
	* malloc/mtrace.c (release_libc_mem): Add __libc_freeres_fn_section.
	* locale/loadarchive.c (_nl_archive_subfreeres): Likewise.
	* malloc/set-freeres.c (__libc_freeres): Likewise.

	* login/getutent.c: Include stdlib.h instead of stddef.h.
	(buffer): Change into pointer to utmp, add libc_freeres_ptr.
	(__getutent): Allocate buffer the first time it is run.
	* login/getutid.c: Include stdlib.h instead of stddef.h.
	(buffer): Change into pointer to utmp, add libc_freeres_ptr.
	(__getutid): Allocate buffer the first time it is run.
	* login/getutline.c: Include stdlib.h instead of stddef.h.
	(buffer): Change into pointer to utmp, add libc_freeres_ptr.
	(__getutline): Allocate buffer the first time it is run.
	* malloc/mtrace.c (malloc_trace_buffer): Change into char *.
	(mtrace): Allocate malloc_trace_buffer.
	* resolv/nsap_addr.c (inet_nsap_ntoa): Decrease size of tmpbuf.
	* resolv/ns_print.c (ns_sprintrrf): Decrease size of t.
	* string/strerror.c: Include libintl.h and errno.h.
	(buf): New variable.
	(strerror): Only allocate buffer if actually needed (unknown error).
	* time/tzfile.c (transitions): Add libc_freeres_ptr.
	(freeres): Remove.

2002-10-25  Jakub Jelinek  <jakub@redhat.com>

	* include/libc-symbols.h (libc_freeres_ptr): New macro.
	* malloc/set-freeres.c (__libc_freeres_ptrs): Define using
	symbol_set_define.
	(__libc_freeres): Free all pointers in that section.
	* Makerules (build-shlib): Add $(LDSEDCMD-$(@F:lib%.so=%).so) to sed
	commands when creating .lds script.
	(LDSEDCMD-c.so): New variable.
	* inet/rcmd.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
	(rcmd_af): Use strdup to allocate ahostbuf.
	* inet/rexec.c (ahostbuf): Change into char *.  Add libc_freeres_ptr.
	(rexec_af): Use strdup to allocate ahostbuf.
	* stdio-common/reg-printf.c (printf_funcs): Remove.
	(__printf_arginfo_table): Change into printf_arginfo_function **.
	Add libc_freeres_ptr.
	(__register_printf_function): Allocate __printf_arginfo_table
	and __printf_function_table the first time it is called.
	* stdio-common/printf-parse.h (__printf_arginfo_table): Change into
	printf_arginfo_function **.
	(parse_one_spec): Add __builtin_expect.
	* grp/fgetgrent.c (buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* inet/getnetgrent.c (buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* intl/localealias.c (libc_freeres_ptr): Define if !_LIBC.
	(string_space, map): Add libc_freeres_ptr.
	(free_mem): Remove.
	* misc/efgcvt.c (FCVT_BUFPTR): Add libc_freeres_ptr.
	(free_mem): Remove.
	* misc/mntent.c (getmntent_buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* crypt/md5-crypt.c (libc_freeres_ptr): Define if !_LIBC.
	(buffer): Add libc_freeres_ptr.
	(free_mem): Remove for _LIBC.
	* nss/getXXbyYY.c (buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* nss/getXXent.c (buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* pwd/fgetpwent.c (buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* resolv/res_hconf.c (ifaddrs): Add libc_freeres_ptr.
	(free_mem): Remove.
	* shadow/fgetspent.c (buffer): Add libc_freeres_ptr.
	(free_mem): Remove.
	* sysdeps/posix/ttyname.c (getttyname_name): Add libc_freeres_ptr.
	(free_mem): Remove.
	* sysdeps/unix/sysv/linux/getsysstats.c (mount_proc): Add
	libc_freeres_ptr.
	(free_mem): Remove.
	* sysdeps/unix/sysv/linux/ttyname.c (getttyname_name, ttyname_buf): Add
	libc_freeres_ptr.
	(free_mem): Remove.

2002-10-30  Jakub Jelinek  <jakub@redhat.com>

	* malloc/obstack.c [_LIBC] (obstack_free): Change into strong_alias
	instead of duplicating the whole function in libc.
2002-11-01 20:44:15 +00:00
..
sys Update. 2002-07-20 01:14:41 +00:00
.cvsignore
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. 2002-07-11 16:34:20 +00:00
cxa_atexit.c Update. 2002-04-09 20:36:24 +00:00
cxa_finalize.c Update. 2002-10-01 00:05:23 +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 * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
fmtmsg.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fpioconst.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
fpioconst.h Update. 2002-03-12 10:25:36 +00:00
gen-mpn-copy
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.h Update to LGPL v2.1. 2001-07-06 04:58:11 +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. 2002-10-10 00:42:24 +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 * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +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. 2001-02-26 17:53:15 +00:00
on_exit.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
qsort.c Update. 2002-01-29 07:54: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 Update. 2002-07-06 06:36:39 +00:00
rpmatch.c Update to LGPL v2.1. 2001-07-06 04:58:11 +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 Prepare headers for use in ISO C++ compliant implementations. 2002-08-28 08:01:11 +00:00
strfmon_l.c * ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts. 2002-08-27 23:36:31 +00:00
strfmon.c Update. 2002-08-03 07:02:10 +00:00
strtod_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +00:00
strtod.c (strtol): Add some more casts to avoid warnings. 2002-08-28 10:16:21 +00:00
strtof_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +00:00
strtof.c
strtold_l.c * locale/Versions (libc: GLIBC_2.3): Add all the *_l functions 2002-08-06 08:40:20 +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. 2002-05-16 06:14:36 +00:00
testdiv.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
testdiv.input
testmb.c
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 Fix format strings. 2002-09-30 07:47:16 +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. 2000-11-25 01:26:30 +00:00
tst-qsort.c Update. 2002-01-29 09:21:41 +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. 2001-08-07 17:33:37 +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-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