glibc/sunrpc
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
..
rpc Update. 2002-08-02 01:43:32 +00:00
rpcsvc Update to LGPL v2.1. 2001-07-06 04:58:11 +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
auth_des.c Update. 2002-05-15 00:22:23 +00:00
auth_none.c Update. 2002-05-15 00:22:23 +00:00
auth_unix.c Update. 2002-05-15 00:22:23 +00:00
authdes_prot.c Update. 2002-02-26 01:45:59 +00:00
authuxprot.c Update. 2002-02-26 01:45:59 +00:00
bindrsvprt.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
clnt_gen.c Update. 2002-07-25 19:35:04 +00:00
clnt_perr.c * include/libc-symbols.h (__libc_freeres_fn_section, libc_freeres_fn): 2002-11-01 20:44:15 +00:00
clnt_raw.c Update. 2002-05-15 00:22:23 +00:00
clnt_simp.c Update. 2002-05-15 00:22:23 +00:00
clnt_tcp.c Update. 2002-05-15 00:22:23 +00:00
clnt_udp.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
clnt_unix.c Update. 2002-05-15 00:22:23 +00:00
create_xid.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
des_crypt.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
des_impl.c Update. 2002-07-06 06:36:39 +00:00
des_soft.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
etc.rpc Update. 2001-08-30 08:27:57 +00:00
get_myaddr.c Update. 1999-06-19 09:58:37 +00:00
getrpcport.c Update. 2001-08-20 06:37:56 +00:00
key_call.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00
key_prot.c Update. 2002-02-26 01:45:59 +00:00
Makefile * cppflags-iterator.mk (CPPFLAGS-$(cpp-src)): Variable removed. 2002-10-16 22:09:55 +00:00
netname.c * include/stdlib.h: Use libc_hidden_proto for wctomb. 2002-08-06 05:10:45 +00:00
openchild.c Update. 2002-02-26 01:45:59 +00:00
pm_getmaps.c Update. 2002-05-15 00:22:23 +00:00
pm_getport.c 2002-08-05 Roland McGrath <roland@redhat.com> 2002-08-06 01:23:20 +00:00
pmap_clnt.c 2002-08-05 Roland McGrath <roland@redhat.com> 2002-08-06 01:23:20 +00:00
pmap_prot2.c Update. 2002-02-26 01:45:59 +00:00
pmap_prot.c Update. 2002-02-26 01:45:59 +00:00
pmap_rmt.c Update. 2002-05-15 00:22:23 +00:00
proto.h (main): Use return instead of exit to avoid warning. 2000-12-31 16:56:02 +00:00
publickey.c 2002-08-05 Roland McGrath <roland@redhat.com> 2002-08-06 01:23:20 +00:00
rpc_clntout.c (printbody): Fix -CLMNab output. 1999-11-23 17:10:21 +00:00
rpc_cmsg.c Update. 2002-02-26 01:45:59 +00:00
rpc_common.c Update. 2001-03-20 18:35:13 +00:00
rpc_cout.c Update. 2001-09-05 00:26:04 +00:00
rpc_dtable.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
rpc_hout.c (pargdef): Function must take pointer to object. 2001-08-28 09:17:24 +00:00
rpc_main.c * sysdeps/generic/bits/libc-tsd.h [USE___THREAD]: Conditional 2002-10-11 10:52:20 +00:00
rpc_parse.c Update. 2001-04-04 17:39:59 +00:00
rpc_parse.h Update. 1997-05-21 01:48:59 +00:00
rpc_prot.c * include/rpc/auth.h: Use libc_hidden_proto for getnetname, 2002-08-06 06:09:28 +00:00
rpc_sample.c Update. 1998-11-16 12:02:08 +00:00
rpc_scan.c (symbols): Add entry for HYPER. 2001-04-04 17:26:50 +00:00
rpc_scan.h Update. 2001-04-04 17:39:59 +00:00
rpc_svcout.c Update. 2002-04-03 08:57:21 +00:00
rpc_tblout.c Update. 1997-03-27 01:59:53 +00:00
rpc_thread.c 2002-08-05 Jakub Jelinek <jakub@redhat.com> 2002-08-05 22:11:14 +00:00
rpc_util.c Update. 1998-02-16 17:42:46 +00:00
rpc_util.h Update. 1998-02-16 17:42:46 +00:00
rpcinfo.c Update. 2001-09-19 03:25:37 +00:00
rtime.c * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). 2002-08-12 02:02:20 +00:00
svc_auth.c Update. 2002-05-15 00:22:23 +00:00
svc_authux.c * sunrpc/svc_authux.c (_svcauth_unix): Remove spurious printf (ugh!). 2002-08-12 02:02:20 +00:00
svc_raw.c Update. 2002-02-26 01:45:59 +00:00
svc_run.c Update. 2002-05-15 00:22:23 +00:00
svc_simple.c * include/stdlib.h: Use libc_hidden_proto for wctomb. 2002-08-06 05:10:45 +00:00
svc_tcp.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
svc_udp.c * sysdeps/posix/system.c (do_system): New function, guts broken out of 2002-08-06 04:30:03 +00:00
svc_unix.c Update. 2002-05-15 00:22:23 +00:00
svc.c * include/stdlib.h: Use libc_hidden_proto for wctomb. 2002-08-06 05:10:45 +00:00
svcauth_des.c Update. 2001-08-20 06:37:56 +00:00
thrsvc.c Update. 2002-10-14 18:10:15 +00:00
Versions Update. 2002-08-03 03:53:28 +00:00
xcrypt.c * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. 2002-09-17 10:58:17 +00:00
xdr_array.c (xdr_array): Check for overflow on multiplication. 2002-08-02 01:33:11 +00:00
xdr_float.c Update. 1999-10-11 23:52:07 +00:00
xdr_intXX_t.c Update to LGPL v2.1. 2001-07-06 04:58:11 +00:00
xdr_mem.c Update. 2002-02-26 01:45:59 +00:00
xdr_rec.c Update. 2002-08-04 23:32:14 +00:00
xdr_ref.c Update. 2002-08-04 23:32:14 +00:00
xdr_sizeof.c Update. 2001-01-28 17:53:49 +00:00
xdr_stdio.c * sunrpc/xcrypt.c (passwd2des_internal): Renamed fom passwd2des. 2002-09-17 10:58:17 +00:00
xdr.c Update. 2002-02-26 01:45:59 +00:00