bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24731: "who"'s behavior doesn't follow manpage description


From: L. A. Walsh
Subject: bug#24731: "who"'s behavior doesn't follow manpage description
Date: Tue, 18 Oct 2016 12:55:50 -0700
User-agent: Thunderbird

L. A. Walsh wrote:
coreutils-8.23 x64
who manpage says:

  If  FILE is not specified, use /var/run/utmp.  /var/log/wtmp as FILE is
  common.  If ARG1 ARG2 given, -m presumed: 'am i'  or  'mom  likes'  are
  usual.

  Behavior is:

access("/var/run/utmpx", F_OK) = -1 ENOENT (No such file or directory) open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) access("/var/run/utmpx", F_OK) = -1 ENOENT (No such file or directory) open("/var/run/utmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
close(1)                                = 0
close(2)                                = 0
exit_group(0)                           = ?
+++ exited with 0 +++

---

Can "who" be fixed to check the paths as documented in the manpage?
How they are listed in the manpage works on my system.












reply via email to

[Prev in Thread] Current Thread [Next in Thread]