This is the mail archive of the
glibc-cvs@sources.redhat.com
mailing list for the glibc project.
libc/login/programs utmpdump.c
- From: roland at sources dot redhat dot com
- To: glibc-cvs at sources dot redhat dot com
- Date: 26 Aug 2002 11:37:11 -0000
- Subject: libc/login/programs utmpdump.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2002-08-26 04:37:11
Modified files:
login/programs : utmpdump.c
Log message:
2002-07-06 Bruno Haible <bruno@clisp.org>
* login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE,
_HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the
existence of corresponding members of 'struct utmp'.
* login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and
!_HAVE_UT_TYPE.