Jim Meyering
|
41a41dd48e
|
Replace hard-coded /etc/wtmp with WTMP_FILE. Suggestion from Eivind.
|
1996-12-21 04:14:45 +00:00 |
|
Jim Meyering
|
e95fe088e1
|
(usage): Say that UTMP_FILE is the default FILE
rather than hard-coding /etc/utmp.
|
1996-12-21 04:08:25 +00:00 |
|
Jim Meyering
|
fa9f16326a
|
(usage): Alphabetize option descriptions the way sort -f would.
|
1996-11-23 22:16:19 +00:00 |
|
Jim Meyering
|
5582e6dad3
|
change bug-reporting address
|
1996-11-03 03:16:27 +00:00 |
|
Jim Meyering
|
b8e689dc67
|
change bug-reporting address
|
1996-11-02 20:44:15 +00:00 |
|
Jim Meyering
|
ac22b4589d
|
(print_entry): Don't take address of UT_TIME_MEMBER directly.
From Ulrich Drepper.
|
1996-10-20 19:14:37 +00:00 |
|
Jim Meyering
|
d0909b6911
|
(print_uptime): Change #ifdef guard on getloadavg
call from just HAVE_GETLOADAVG to HAVE_GETLOADAVG || C_GETLOADAVG.
From Kaveh R. Ghazi.
|
1996-10-12 04:17:25 +00:00 |
|
Jim Meyering
|
a13e04ed9d
|
fix --version output
|
1996-10-05 17:12:55 +00:00 |
|
Jim Meyering
|
f04044ed86
|
(main): update --version output to conform to coding standard
|
1996-10-05 16:37:57 +00:00 |
|
Jim Meyering
|
e9d17da073
|
(usage): Tell where to report bugs.
|
1996-09-02 15:52:45 +00:00 |
|
Jim Meyering
|
c87d06546a
|
(print_uptime) [HAVE_PROC_UPTIME]: Read from /proc/uptime.
From Ulrich Drepper.
|
1996-08-03 02:49:34 +00:00 |
|
Jim Meyering
|
9e10989282
|
(print_uptime): Reverse days' and day' in uptime message.
From Kaveh R. Ghazi.
|
1996-07-16 04:50:12 +00:00 |
|
Jim Meyering
|
9c53920ae6
|
(print_uptime): Use 0, not undefined errno in
couldn't-get-boot-time diagnostic. From Ulrich Drepper.
|
1996-07-15 01:07:16 +00:00 |
|
Jim Meyering
|
2b5207bc59
|
(main): Declare to return int, not void.
|
1996-04-24 03:23:54 +00:00 |
|
Jim Meyering
|
be333ac3a5
|
(print_uptime): Invoke getloadavg only if we have it.
|
1996-04-13 18:26:39 +00:00 |
|
Jim Meyering
|
c1bf67ee67
|
Mark translatable strings in new code.
|
1996-04-13 03:17:44 +00:00 |
|
Jim Meyering
|
7057c83fd4
|
Reindent.
(UT_TIME_MEMBER): New macro.
(print_uptime): Use it instead of #ifdef HAVE_UTMPX_H #else.
(print_entry): Likewise.
|
1996-04-11 02:30:09 +00:00 |
|
Jim Meyering
|
737ea4d4f9
|
(print_uptime) [UPTIME]: New function. From Kaveh Ghazi.
|
1996-04-10 04:57:09 +00:00 |
|
Jim Meyering
|
3613700a38
|
Update FSF's address.
|
1996-03-24 18:40:53 +00:00 |
|
Jim Meyering
|
3ee97d4d5b
|
Don't include version.h.
(main): Use PACKAGE_VERSION instead of version_string.
|
1996-03-16 16:14:26 +00:00 |
|
Jim Meyering
|
2e5cc5e04e
|
(read_utmp): Declare n_read to be of type size_t rather than int.
|
1996-03-16 05:44:02 +00:00 |
|
Jim Meyering
|
6fc4ae7a28
|
(main): Initialize for internationalized message support:
call setlocale, bindtextdomain, and textdomain.
|
1996-03-12 23:49:29 +00:00 |
|
Jim Meyering
|
a74458a36e
|
(print_entry): Use STRUCT_UTMP, not `struct utmp'.
|
1996-03-07 03:41:22 +00:00 |
|
Jim Meyering
|
9cb56e2980
|
(print_entry): Use strchr, not index.
|
1996-02-23 16:12:01 +00:00 |
|
Jim Meyering
|
dd05029135
|
(main): When failing because there were `too many arguments,' say so.
|
1996-02-14 05:48:48 +00:00 |
|
Jim Meyering
|
0b2ebf9875
|
(print_entry): If possible, canonicalize the host hame.
From Miles Bader (miles@gnu.ai.mit.edu).
|
1996-02-13 05:27:16 +00:00 |
|
Jim Meyering
|
2131b2e9d5
|
Protoize.
|
1996-01-19 16:05:23 +00:00 |
|
Jim Meyering
|
7949927db6
|
rename from who.c
|
1996-01-06 11:13:11 +00:00 |
|