OpenBSD CVS

CVS log for src/usr.bin/w/w.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 4 23:50:50 2022 UTC (17 months, 2 weeks ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.67: +1 -2 lines
Diff to previous 1.67 (colored)

userspace: remove vestigial '?' cases from top-level getopt(3) loops

getopt(3) returns '?' when it encounters a flag not present in the in
the optstring or if a flag is missing its option argument.  We can
handle this case with the "default" failure case with no loss of
legibility.  Hence, remove all the redundant "case '?':" lines.

Prompted by dlg@.  With help from dlg@ and millert@.

Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2

ok naddy@ millert@ dlg@

Revision 1.67 / (download) - annotate - [select for diffs], Tue Feb 22 17:35:01 2022 UTC (2 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.66: +1 -2 lines
Diff to previous 1.66 (colored)

MAXCOMLEN is no longer needed in these programs, so remove the annotation
from sys/param.h include lines, or remove the include lines entirely if
it this was the least requirement.
ok millert

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:05 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 18 05:51:53 2017 UTC (6 years, 5 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.64: +4 -10 lines
Diff to previous 1.64 (colored)

Add the CLOCK_BOOTTIME clockid for use with clock_gettime(2)
and put it to use in userspace in lieu of the kern.boottime
sysctl.

Its absolute value is the time that has elapsed since the
system booted, i.e., the system uptime.

Use in top(1), w(1), and snmpd(8) eliminates a race with
settimeofday(2), adjtime(2), etc. inherent to deriving the
system uptime via the kern.boottime sysctl.

Product of a great deal of discussion/revision with jca@, tb@,
and guenther@.

ok tb@ jca@ guenther@ dlg@ mlarkin@ tom@

Revision 1.64 / (download) - annotate - [select for diffs], Thu Dec 14 18:03:03 2017 UTC (6 years, 5 months ago) by jasper
Branch: MAIN
Changes since 1.63: +3 -2 lines
Diff to previous 1.63 (colored)

when -h is passed don't print any header, as is common practise in other systems too.
adjust uptime.1 while here as pointed out by martijn@

ok tb@ jca@ martijn@

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jul 27 14:17:34 2017 UTC (6 years, 9 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

kp can be NULL (eg, stale utmp entry), so adjust the comment.

Prompted by another diff from Klemens Nanni

Revision 1.62 / (download) - annotate - [select for diffs], Tue May 30 15:10:48 2017 UTC (6 years, 11 months ago) by schwarze
Branch: MAIN
Changes since 1.61: +47 -1 lines
Diff to previous 1.61 (colored)

stop reacharound from w(1) to ps(1); no functional change;
diff from bcallah@; OK tedu@ deraadt@

Revision 1.61 / (download) - annotate - [select for diffs], Sat Mar 19 00:11:49 2016 UTC (8 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.60: +9 -4 lines
Diff to previous 1.60 (colored)

if -a is specified, allow "dns" in pledge requests.
problem noticed by Raf Czlonka

Revision 1.60 / (download) - annotate - [select for diffs], Fri Oct 23 03:26:24 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.59: +4 -1 lines
Diff to previous 1.59 (colored)

With new pledge "ps" and "vminfo" requests, ps/top/w become possible.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Aug 31 15:49:34 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.58: +12 -10 lines
Diff to previous 1.58 (colored)

calculate screen size way earlier, this will provide some opportunities
for taming the string manipulation in the later half of the program.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Mar 15 00:41:28 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.57: +2 -3 lines
Diff to previous 1.57 (colored)

tzfile.h is an internal header that should never have been installed.
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time.  This makes the
tree safe for /usr/include/tzfile.h removal.  The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree.  Actual removal of tzfile.h is pending
a ports build.  Based on a diff from deraadt@

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jan 16 06:40:14 2015 UTC (9 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.56: +5 -4 lines
Diff to previous 1.56 (colored)

Replace <sys/param.h> with <limits.h> and other less dirty headers where
possible.  Annotate <sys/param.h> lines with their current reasons.  Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc.  Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution.  These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jul 8 23:24:28 2014 UTC (9 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.55: +1 -2 lines
Diff to previous 1.55 (colored)

Cannot find a reason for this to need machine/cpu.h

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jul 4 05:58:31 2014 UTC (9 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

Track whether a process is a zombie or not yet fully built via flags
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's
thread data.  This eliminates the need for the thread-level SDEAD state.

Change kvm_getprocs() (both the sysctl() and kvm backends) to report the
"most active" scheduler state for the process's threads.

tweaks kettenis@
feedback and ok matthew@

Revision 1.54 / (download) - annotate - [select for diffs], Wed Nov 20 21:00:33 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

str derives from argv; so use an unsigned char cast for isspace()
ok ratchov

Revision 1.53 / (download) - annotate - [select for diffs], Thu Oct 31 02:00:12 2013 UTC (10 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.52: +1 -2 lines
Diff to previous 1.52 (colored)

sometimes we find .h we no longer need

Revision 1.52 / (download) - annotate - [select for diffs], Thu Aug 22 04:43:41 2013 UTC (10 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored)

Correct format string mismatches turned up by -Wformat=2

suggestions and ok millert@

Revision 1.51 / (download) - annotate - [select for diffs], Sun Jun 24 06:34:34 2012 UTC (11 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored)

Fix comment.  Pointed out by Seth Wright (seth at crosse.org)

Revision 1.50 / (download) - annotate - [select for diffs], Thu Jul 28 10:14:00 2011 UTC (12 years, 9 months ago) by kettenis
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored)

Adjust for machdep.consdev -> kern.consdev sysctl change.  This should restore
the functionality to figure out the real console device when /dev/console is
used.

ok millert@, deraadt@

Revision 1.49 / (download) - annotate - [select for diffs], Tue Apr 26 07:29:05 2011 UTC (13 years ago) by jasper
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

tyop in comment

Revision 1.48 / (download) - annotate - [select for diffs], Sun Apr 10 03:20:59 2011 UTC (13 years, 1 month ago) by guenther
Branch: MAIN
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored)

Switch back from KERN_PROC2/kinfo_proc2 to KERN_PROC/kinfo_proc now
that we've got name we want for the API we want

"ZAP!" deraadt@

Revision 1.47 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:49 2009 UTC (14 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.46: +1 -15 lines
Diff to previous 1.46 (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.46 / (download) - annotate - [select for diffs], Tue Sep 30 21:29:58 2008 UTC (15 years, 7 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.45: +9 -5 lines
Diff to previous 1.45 (colored)

Properly display files with embedded colons being xferred via ftd.
Closes PR 5119.  OK miod@

Revision 1.45 / (download) - annotate - [select for diffs], Wed Jul 20 04:19:08 2005 UTC (18 years, 10 months ago) by jaredy
Branch: MAIN
CVS Tags: 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
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

remove the -M and -N flags to uptime, they do nothing.
w(1) is unaffected by this.

closes PR#4298

ok millert, deraadt

Revision 1.44 / (download) - annotate - [select for diffs], Mon Apr 11 07:04:47 2005 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.43: +9 -9 lines
Diff to previous 1.43 (colored)

spacing

Revision 1.43 / (download) - annotate - [select for diffs], Tue Sep 14 22:24:24 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored)

delete unused variable

Revision 1.42 / (download) - annotate - [select for diffs], Wed Aug 18 21:27:20 2004 UTC (19 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.41: +3 -3 lines
Diff to previous 1.41 (colored)

- .Xr utmp 5
- sort options and sync usage()

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jan 8 18:14:51 2004 UTC (20 years, 4 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.40: +18 -21 lines
Diff to previous 1.40 (colored)

Convert to kinfo_proc2; ok deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Wed Nov 26 00:31:27 2003 UTC (20 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.39: +3 -7 lines
Diff to previous 1.39 (colored)

Minor cleanup.  Remove gratuitous use of __CONCAT that was needed
to avoid SCCS braindamage.  Also use ANSI function headers while
we are here.  Based on a diff from espie@

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:22 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.38: +3 -7 lines
Diff to previous 1.38 (colored)

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

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 17 19:37:40 2002 UTC (21 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.37: +9 -15 lines
Diff to previous 1.37 (colored)

ansi

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 8 22:57:34 2002 UTC (21 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.36: +8 -15 lines
Diff to previous 1.36 (colored)

No need to be setgid kmem anymore.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Feb 19 18:38:02 2002 UTC (22 years, 3 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.35: +3 -3 lines
Diff to previous 1.35 (colored)

Fix gethostname() usage.

deraadt@ ok

Revision 1.35 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:58 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jul 12 05:17:31 2001 UTC (22 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored)

first pass at a -Wall cleanup

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 30 20:57:58 2001 UTC (22 years, 11 months ago) by smart
Branch: MAIN
Changes since 1.32: +13 -13 lines
Diff to previous 1.32 (colored)

- Fix usage
- Remove an instance of "'buf[sizeof(buf) - 1] = '\0'"
- A few style nits

deraadt@ ok

Revision 1.32 / (download) - annotate - [select for diffs], Wed Jan 31 17:42:26 2001 UTC (23 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.31: +7 -4 lines
Diff to previous 1.31 (colored)

move utmp to large format, usernames to 32 chars; downsj

Revision 1.31 / (download) - annotate - [select for diffs], Sat Dec 23 02:07:49 2000 UTC (23 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30 (colored)

hostnames are case-insensitive; brian

Revision 1.30 / (download) - annotate - [select for diffs], Fri Jul 7 21:09:02 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.29: +5 -5 lines
Diff to previous 1.29 (colored)

or just use puts() instead

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 7 21:07:41 2000 UTC (23 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

heck, be more careful with printf here too

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 12 19:26:39 1999 UTC (24 years, 9 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

Support -M and -N flags in uptime mode too

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 5 17:04:59 1999 UTC (24 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.26: +5 -6 lines
Diff to previous 1.26 (colored)

use inet_aton()

Revision 1.26 / (download) - annotate - [select for diffs], Sun Apr 25 00:33:56 1999 UTC (25 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.25: +16 -9 lines
Diff to previous 1.25 (colored)

Make ttystat() work correctly with strings that are not NUL-terminated.
If ut_line begins with "ftp" copy the pid into a temp buffer before
the strol() since ut_line may not be NUL-terminated.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 8 22:14:20 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.24: +5 -2 lines
Diff to previous 1.24 (colored)

whack kmem gid after kvm_openfiles()

Revision 1.24 / (download) - annotate - [select for diffs], Tue Feb 3 19:18:22 1998 UTC (26 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.23: +3 -3 lines
Diff to previous 1.23 (colored)

usage line fix; pjanzen@foatdi.harvard.edu

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 16 17:50:43 1998 UTC (26 years, 4 months ago) by millert
Branch: MAIN
Changes since 1.22: +13 -3 lines
Diff to previous 1.22 (colored)

Add rcsid tags.
If program has set argv[0] or argv[0][0] to NUL, print p->p_comm
instead.  Based on patch from Paul Janzen <pjanzen@foatdi.harvard.edu>

Revision 1.22 / (download) - annotate - [select for diffs], Wed Dec 24 19:57:11 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

No, we are not making our w command incompatible

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 24 16:13:25 1997 UTC (26 years, 5 months ago) by mickey
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

3 letters for tty name; for ftp

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jul 25 14:36:24 1997 UTC (26 years, 10 months ago) by kstailey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored)

more to the point err. msg.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 25 05:04:07 1997 UTC (26 years, 10 months ago) by mickey
Branch: MAIN
Changes since 1.18: +8 -7 lines
Diff to previous 1.18 (colored)

proper progname grok
proper printing for uptime < 1min

Revision 1.18 / (download) - annotate - [select for diffs], Fri May 30 18:40:46 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

shorter

Revision 1.17 / (download) - annotate - [select for diffs], Fri May 30 18:39:44 1997 UTC (26 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +25 -22 lines
Diff to previous 1.16 (colored)

if less than 60 secs of uptime, say so

Revision 1.16 / (download) - annotate - [select for diffs], Tue Apr 1 07:58:40 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.15: +7 -5 lines
Diff to previous 1.15 (colored)

Slightly better fix.  This one is explicately bounded by UT_HOSTSIZE.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 30 18:16:02 1997 UTC (27 years, 1 month ago) by millert
Branch: MAIN
Changes since 1.14: +4 -2 lines
Diff to previous 1.14 (colored)

NetBSD PR #3399:  Avoid overflowing in ut_host into ut_time (bounds check).  Fix from Tatoku Ogaito

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 25 21:24:12 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

ensure strftime buf has NUL; yokota@freebsd

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 19 11:16:04 1997 UTC (27 years, 3 months ago) by angelos
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Change usage() so it shows the right line arguments.

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

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

Revision 1.11 / (download) - annotate - [select for diffs], Sun Dec 22 03:26:10 1996 UTC (27 years, 5 months ago) by tholo
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

Deal with _POSIX_SAVED_IDS when relinquishing privileges

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 22 09:37:19 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

header glitch if system up < 1 minute; from mouse@Collatz.McRCIM.McGill.EDU

Revision 1.9 / (download) - annotate - [select for diffs], Thu Aug 22 06:46:36 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

deal with argument snip

Revision 1.8 / (download) - annotate - [select for diffs], Thu Aug 22 02:16:01 1996 UTC (27 years, 9 months ago) by downsj
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

Slightly better.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 22 02:12:33 1996 UTC (27 years, 9 months ago) by downsj
Branch: MAIN
Changes since 1.6: +25 -4 lines
Diff to previous 1.6 (colored)

Handle ftp entries better.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Aug 12 02:28:43 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +5 -5 lines
Diff to previous 1.5 (colored)

invert -n into -a; default is no gethostbyaddr()

Revision 1.5 / (download) - annotate - [select for diffs], Tue Aug 6 20:41:32 1996 UTC (27 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

_POSIX2_LINE_MAX errbuf for kvm_openfiles()

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jun 26 05:42:45 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -0 lines
Diff to previous 1.3 (colored)

rcsid

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 30 09:11:27 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +7 -0 lines
Diff to previous 1.2 (colored)

revoke privs before opening kvm if user has specified mem/kernel paths

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 21 23:44:48 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

sync to netbsd 960418

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:46:50 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:50 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.