History log of /freebsd/usr.bin/who/who.c (Results 51 – 70 of 70)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0
# 10ebb45a 26-Oct-2003 Peter Wemm <peter@FreeBSD.org>

Fix a warning that showed up on 64 bit systems. It was actually a real
bug that had been swept under the carpet.


Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0
# aed62c09 21-Dec-2002 Tim J. Robbins <tjr@FreeBSD.org>

Remove unimplemented System V options from the getopt() option string.


# 6ceeb690 15-Nov-2002 Peter Wemm <peter@FreeBSD.org>

utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than
time_t. Deal with the possibility that time_t != int32_t. This boils
down to this sort of thing:
- time(&ut.ut_time);
+ ut.

utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than
time_t. Deal with the possibility that time_t != int32_t. This boils
down to this sort of thing:
- time(&ut.ut_time);
+ ut.ut_time = time(NULL);
and similar for ctime(3) etc. I've kept it minimal for the stuff
that may need to be portable (or 3rd party code), but used Matt's time32
stuff for cases where that isn't as much of a concern.

Approved by: re (jhb)

show more ...


Revision tags: release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# d2979f56 20-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

Style: put static qualifier on definition of static functions.


# 8358edb6 04-Jun-2002 Tim J. Robbins <tjr@FreeBSD.org>

Respect the setting of the COLUMNS environment variable, use it instead of
the TTY width obtained by ioctl() when set & non-null. (SUSv3)


# 1a940138 28-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Write "FROM" heading above the hostname column, like NetBSD and GNU do.


# 38a99942 10-May-2002 Tim J. Robbins <tjr@FreeBSD.org>

Reimplement the who(1) utility to add some features required by SUSv3:
-H option (show column headings),
-T (show mesg(1) state),
-m (same as "am I"),
-u (show idle time),
-q (quick mode; list names

Reimplement the who(1) utility to add some features required by SUSv3:
-H option (show column headings),
-T (show mesg(1) state),
-m (same as "am I"),
-u (show idle time),
-q (quick mode; list names in columns).

PR: 36128
Reviewed by: mike

show more ...


# 3f330d7d 22-Mar-2002 Warner Losh <imp@FreeBSD.org>

remove __P


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 2c062c85 11-Dec-2001 Mark Murray <markm@FreeBSD.org>

WARNS=2 fix, use __FBSDID().

WARNS=2 is not in Makefile, as this will be the default.


# 7a19d1bb 24-Jun-2001 Dima Dorfman <dd@FreeBSD.org>

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


Revision tags: release/4.3.0_cvs, release/4.3.0
# e36de81e 21-Mar-2001 Andrey A. Chernov <ache@FreeBSD.org>

Don't attempt to parse %c


Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs, release/3.4.0_cvs, release/3.3.0_cvs
# c3aac50f 28-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7
# 7ac237e8 25-May-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Back out Steve's fix, as this was already fixed by me in revision 1.6


# af2bbadb 25-May-1998 Steve Price <steve@FreeBSD.org>

Only allow 'who' and 'who am i' as valid usages.

PR: 6294
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>


# 574a97f5 26-Apr-1998 Dag-Erling Smørgrav <des@FreeBSD.org>

Check that user really typed "who am {I,i}", and that no stray
arguments are given.
Note that usage() and the manpage disagree...

PR: bin/6294
Suggested by: Ruslan Ermilov and Bruce Evans
Submitted

Check that user really typed "who am {I,i}", and that no stray
arguments are given.
Note that usage() and the manpage disagree...

PR: bin/6294
Suggested by: Ruslan Ermilov and Bruce Evans
Submitted by: Ruslan Ermilov (partly)

show more ...


Revision tags: release/2.2.6, release/2.2.5_cvs
# 0abcff76 26-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Use err(3). Add usage().


Revision tags: release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs
# 719ed69e 07-Mar-1997 Kazutaka YOKOTA <yokota@FreeBSD.org>

Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should g

Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.

show more ...


Revision tags: release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs, release/2.1.0_cvs
# 965f310c 24-Oct-1995 Andrey A. Chernov <ache@FreeBSD.org>

Add setlocale LC_TIME


# eaf7e02e 08-Aug-1995 Andrey A. Chernov <ache@FreeBSD.org>

Replace ctime by strftime %c to use national date representation now


Revision tags: release/2.0.5_cvs, release/2.0, release/1.1.5.1_cvs
# 9b50d902 27-May-1994 Rodney W. Grimes <rgrimes@FreeBSD.org>

BSD 4.4 Lite Usr.bin Sources


123