Up to [local] / src / usr.bin / rwho
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_3_BASE
Revision 1.6 / (download) - annotate - [select for diffs], Thu Sep 27 18:38:58 2001 UTC (22 years, 8 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.5: +10 -3 lines
Diff to previous 1.5 (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.