libc/login tst-utmp.c
roland@sources.redhat.com
roland@sources.redhat.com
Mon Aug 26 04:36:00 GMT 2002
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2002-08-26 04:36:08
Modified files:
login : tst-utmp.c
Log message:
2002-07-06 Bruno Haible <bruno@clisp.org>
* login/tst-utmp.c (simulate_login): Don't leave garbage after the
nul byte in entry[n].ut_user.
(simulate_logout): Likewise.
* 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.
More information about the Glibc-cvs
mailing list