OpenBSD CVS

CVS log for src/usr.bin/rwho/Attic/rwho.c


[BACK] Up to [local] / src / usr.bin / rwho

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20, Thu Apr 24 15:01:27 2014 UTC (10 years ago) by tedu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED

I have not eaten for days.
And who says you will?

Revision 1.19 / (download) - annotate - [select for diffs], Thu Jan 9 05:07:37 2014 UTC (10 years, 4 months ago) by martynas
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Switch to string copy rather than memcpy so we stop past '\0' and
don't copy over the garbage from the source buffer (like, leaking
the canary).  OK millert@.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Nov 27 13:32:02 2013 UTC (10 years, 5 months ago) by okan
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

remove erroneous char cast to switch expression processing getopt(3);
not used in any cases.

ok deraadt@, guenther@, millert@

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 16 18:57:39 2013 UTC (11 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored)

cannot inspect out_name via a time_t pointer; ok guenther

Revision 1.16 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:43 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.15: +1 -15 lines
Diff to previous 1.15 (colored)

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable).  these days, people use source.  these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms

Revision 1.15 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:15 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.14: +3 -7 lines
Diff to previous 1.14 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 30 21:30:38 2003 UTC (21 years ago) by vincent
Branch: MAIN
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored)

strvis -> strnvis, and add a place for the NUL byte that was missing

ok millert

Revision 1.13 / (download) - annotate - [select for diffs], Thu Sep 27 18:38:58 2001 UTC (22 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.12: +56 -42 lines
Diff to previous 1.12 (colored)

o Add an extra byte for out_line and out_name in struct myutmp so we
  can treat these as normal C strings.  Fixes PR 2092
o KNF and ANSI fixes
o Avoid strncpy() since well-meaning folks will try to convert to strlcpy()
  even when it is not sensible to do so.
o Document the fact that the rwho protocol only supports up to 8 chars
  for a username.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 17 17:35:14 2001 UTC (23 years, 3 months ago) by pjanzen
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.11: +7 -10 lines
Diff to previous 1.11 (colored)

Take prototypes from <time.h>; use errx.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 31 20:12:49 2001 UTC (23 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +6 -5 lines
Diff to previous 1.10 (colored)

make aware of UT_NAMESIZE

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 26 17:01:02 1998 UTC (26 years ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.9: +15 -4 lines
Diff to previous 1.9 (colored)

catch "rwho foo" as illegal; ru@ucb.crimea.ua

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jun 20 10:00:01 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Wall

Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 13 02:30:34 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.7: +6 -4 lines
Diff to previous 1.7 (colored)

vis usernames; bitblt is paranoid

Revision 1.7 / (download) - annotate - [select for diffs], Sun Apr 13 02:21:16 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

buf oflow; bitblt

Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 26 18:02:37 1997 UTC (27 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)

bail like ruptime; netbsd

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 15 23:43:10 1997 UTC (27 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

getopt(3) returns -1 when out of args, not EOF, whee!

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 30 15:15:26 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +4 -3 lines
Diff to previous 1.3 (colored)

fix warnings

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 30 11:10:32 1996 UTC (27 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +13 -6 lines
Diff to previous 1.2 (colored)

buf oflow

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:39:00 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:04 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:46:04 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.