2002-07-06 Bruno Haible <bruno@clisp.org>
authorroland <roland>
Mon, 26 Aug 2002 11:37:11 +0000 (11:37 +0000)
committerroland <roland>
Mon, 26 Aug 2002 11:37:11 +0000 (11:37 +0000)
commit0da2938d6bbbcc0b4550e9dac287a0f222f6e1ab
treefb28225c27a89a89d081bd71216cea3c577cd518
parentd54f59f81c523f54d9aa5bdba805591a81acd6d2
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.
login/programs/utmpdump.c