2002-10-30 Jakub Jelinek <jakub@redhat.com>
authorroland <roland>
Fri, 1 Nov 2002 20:43:44 +0000 (20:43 +0000)
committerroland <roland>
Fri, 1 Nov 2002 20:43:44 +0000 (20:43 +0000)
commit28da283bf580dac12e61359e1506ce270ecc7c70
tree35832bf625071734db530cef851e33b8c20fe976
parent3551c238ecc543c38db0cf281db709de8ed7bbdf
2002-10-30  Jakub Jelinek  <jakub@redhat.com>

* 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.
login/getutent.c
login/getutid.c
login/getutline.c
resolv/ns_print.c
resolv/nsap_addr.c
string/strerror.c
time/tzfile.c