From: Jim Meyering Date: Tue, 16 Apr 2002 10:39:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: SH-UTILS-2_0_12~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e0e925d3bb4344296082eab212298e8290d4317;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog index b921754e82..d2d55c9a1e 100644 --- a/old/sh-utils/ChangeLog +++ b/old/sh-utils/ChangeLog @@ -1,7 +1,21 @@ -2002-04-15 Jim Meyering +2002-04-16 Jim Meyering * Version 2.0.12. + * src/who.c (BOOT_TIME): Define. + (NEW_TIME): Define to 0, not INT_MAX. + (UT_PID, UT_ID, UT_EXIT_E_TERMINATION, UT_EXIT_E_EXIT): Define. + Replace literal uses of ut_pid, ut_id, and ut_exit members with + uses through macros. + (make_id_equals_comment): New function, factored out of three others. + (UT_TYPE_UNDEF, UT_TYPE, IS_USER_PROCESS): Define. + (print_line): Use "%-8.8s" for the format: the user name is not + always NUL terminated. + (scan_entries) [need_users]: Use IS_USER_PROCESS, so that this works + even on systems without ut_type. + +2002-04-15 Jim Meyering + * src/who.c: Include xalloc.h. Use xmalloc everywhere, not malloc.