This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc login/getutent.c login/getutline.c login/ ...
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 1 Nov 2002 20:43:45 -0000
- Subject: libc login/getutent.c login/getutline.c login/ ...
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sourceware.org 2002-11-01 12:43:45
Modified files:
login : getutent.c getutline.c getutid.c
string : strerror.c
resolv : nsap_addr.c ns_print.c
time : tzfile.c
Log message:
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.