From 068249afb63d833e5dc6166fc95dedce99b855d7 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 28 Jun 2001 12:35:20 +0000 Subject: misc cleanup in dump-utmp git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13525 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/pty/ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/util/pty/ChangeLog') diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog index d598f954a4..39797d41ef 100644 --- a/src/util/pty/ChangeLog +++ b/src/util/pty/ChangeLog @@ -3,6 +3,13 @@ * update_utmp.c (pty_update_utmp): Don't copy host if it's a null pointer. + * dump-utmp.c (print_ut): Use size of ut_name field, not ut_user, + which may not exist, for width when printing ut_name field value. + Specify width when printing hostname, it may be unterminated. + (main): Move utp and utxp declarations closer to their usages, and + make both conditionalized so they're not declared if they're not + used. + 2001-06-21 Ezra Peisach * libpty.h: Change variable line in prototype to tty_line to -- cgit