glibc/inet
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
..
arpa Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
netinet Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
protocols Update. 1999-06-08 21:20:07 +00:00
.cvsignore
aliases.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_aton_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
ether_aton.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_hton.c Update. 2002-04-03 00:36:12 +00:00
ether_line.c Update. 2002-05-24 08:49:00 +00:00
ether_ntoa_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
ether_ntoa.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
ether_ntoh.c Update. 2002-04-03 00:36:12 +00:00
getaliasent_r.c Update. 2002-08-03 07:02:10 +00:00
getaliasent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getaliasname_r.c Update. 2002-08-03 07:02:10 +00:00
getaliasname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbyad_r.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
gethstbyad.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm2_r.c Update. 2002-08-03 07:02:10 +00:00
gethstbynm2.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstbynm_r.c Update. 2002-08-03 07:02:10 +00:00
gethstbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
gethstent_r.c Update. 2002-08-03 07:02:10 +00:00
gethstent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnameinfo.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00
getnetbyad_r.c Update. 2002-08-03 07:02:10 +00:00
getnetbyad.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetbynm_r.c Update. 2002-08-03 07:02:10 +00:00
getnetbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetent_r.c Update. 2002-08-03 07:02:10 +00:00
getnetent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getnetgrent_r.c 2002-08-07 Roland McGrath <roland@redhat.com> 2002-08-08 01:32:48 +00:00
getnetgrent.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
getproto_r.c Update. 2002-08-03 07:02:10 +00:00
getproto.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getprtent_r.c Update. 2002-08-03 07:02:10 +00:00
getprtent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getprtname_r.c Update. 2002-08-03 07:02:10 +00:00
getprtname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcbyname_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcbyname.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcbynumber_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcbynumber.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getrpcent_r.c Update. 2002-08-03 07:02:10 +00:00
getrpcent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getservent_r.c Update. 2002-08-03 07:02:10 +00:00
getservent.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsrvbynm_r.c Update. 2002-08-03 07:02:10 +00:00
getsrvbynm.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
getsrvbypt_r.c Update. 2002-08-03 07:02:10 +00:00
getsrvbypt.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
herrno.c 2002-10-16 Jakub Jelinek <jakub@redhat.com> 2002-10-15 22:50:43 +00:00
htontest.c * locale/programs/ld-ctype.c (ctype_read): When given a repertoire 2002-08-26 11:39:12 +00:00
ifaddrs.h Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00
in6_addr.c * malloc/Makefile ($(objpfx)memusagestat.o: sysincludes): Define 2002-09-18 00:15:25 +00:00
inet_lnaof.c Update. 1999-06-08 21:20:07 +00:00
inet_mkadr.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
inet_net.c (inet_network): Add missing part of last patch. 2000-02-12 07:38:04 +00:00
inet_netof.c * include/libc-symbols.h (hidden_weak): Define it for [__ASSEMBLER__]. 2002-08-03 12:09:37 +00:00
inet_ntoa.c Update. 2001-08-14 23:29:55 +00:00
Makefile Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00
netgroup.h Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
rcmd.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
rexec.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
ruserpass.c * include/stdlib.h: Use libc_hidden_proto for wctomb. 2002-08-06 05:10:45 +00:00
test_ifindex.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
test-ifaddrs.c Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00
tst-ether_aton.c Update. 2002-05-24 08:49:00 +00:00
tst-gethnm.c Include string.h to provide prototype for strcmp. 2000-08-19 18:04:56 +00:00
tst-network.c * catgets/open_catalog.c (__open_catalog): Don't use a value type 2002-09-24 04:24:25 +00:00
tst-ntoa.c
Versions Added <ifaddrs.h> interface with functions getifaddrs', freeifaddrs'. 2002-07-24 22:56:44 +00:00