]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Tue, 16 Apr 2002 10:39:42 +0000 (10:39 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 16 Apr 2002 10:39:42 +0000 (10:39 +0000)
old/sh-utils/ChangeLog

index b921754e82445fb83f913c002b36c4f4b36f3076..d2d55c9a1e86ae794cc133c27ad9299604e8bb8f 100644 (file)
@@ -1,7 +1,21 @@
-2002-04-15  Jim Meyering  <meyering@lucent.com>
+2002-04-16  Jim Meyering  <meyering@lucent.com>
 
        * 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  <meyering@lucent.com>
+
        * src/who.c: Include xalloc.h.
        Use xmalloc everywhere, not malloc.