summaryrefslogtreecommitdiff
path: root/old/sh-utils
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-04-16 10:39:42 +0000
committerJim Meyering <jim@meyering.net>2002-04-16 10:39:42 +0000
commit2e0e925d3bb4344296082eab212298e8290d4317 (patch)
tree64af5c8f8a550a026a23e6cf3f3ce48694d5b314 /old/sh-utils
parent6f0db0ac6e69e9d245e126b1ea0d2ced5fb50052 (diff)
downloadcoreutils-2e0e925d3bb4344296082eab212298e8290d4317.tar.xz
*** empty log message ***
Diffstat (limited to 'old/sh-utils')
-rw-r--r--old/sh-utils/ChangeLog16
1 files changed, 15 insertions, 1 deletions
diff --git a/old/sh-utils/ChangeLog b/old/sh-utils/ChangeLog
index b921754e8..d2d55c9a1 100644
--- a/old/sh-utils/ChangeLog
+++ b/old/sh-utils/ChangeLog
@@ -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.