]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
who, pinky, uptime, and users now check for valid PIDs in supposed login
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Mar 2005 05:25:10 +0000 (05:25 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 30 Mar 2005 05:25:10 +0000 (05:25 +0000)
sessions.

ChangeLog

index c9c06939032afe6f69d377da4194733c5c7cb895..0dd69658cefa99c9da85322c7f2ad28f6dd16a53 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,19 @@
-2005-03-29  Jim Meyering  <jim@meyering.net>
+2005-03-30  Paul Eggert  <eggert@cs.ucla.edu>
 
        * Version 5.3.1.
 
+       * src/pinky.c (short_pinky): Adjust to read_utmp signature change.
+       * src/uptime.c (uptime): New arg OPTIONS.  All uses changed.
+       * src/users.c (users): Likewise.
+       * src/who.c (who): Likewise.
+       * src/uptime.c (main): Check PIDs when invoked with zero arguments.
+       * src/users.c (main): Likewise.
+       * src/who.c (main): Likewise.  Also with two arguments.
+       Omit duplicate code in 2-arg case.
+       (UT_PID): Moved to ../lib/readutmp.h.
+
+2005-03-29  Jim Meyering  <jim@meyering.net>
+
        * src/system.h (ptr_align): Declare `ptr' parameter to be a
        `const' pointer, since this function never writes through it.