OpenBSD CVS

CVS log for src/bin/ls/ls.c


[BACK] Up to [local] / src / bin / ls

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.56 / (download) - annotate - [select for diffs], Sat Oct 7 13:29:08 2023 UTC (8 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.55: +9 -16 lines
Diff to previous 1.55 (colored)

Simplify the display() function by getting rid of a useless buffer
on the stack.  No functional change, +8 -15 LOC.

Suggested by and OK millert@.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Oct 7 11:51:08 2023 UTC (8 months ago) by schwarze
Branch: MAIN
Changes since 1.54: +20 -4 lines
Diff to previous 1.54 (colored)

Improve horizontal alignment in long format when printing minor
device numbers greater than 999 by measuring the two widths needed
for device numbers just like it is already done for other numbers.
In the output, this only changes whitespace, but not the text.

Ugly formatting reported by
Crystal Kolipe <kolipe dot c at exoticsilicon dot com>.

OK millert.  Also tested by Crystal Kolipe.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 7 21:03:09 2020 UTC (3 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.53: +15 -13 lines
Diff to previous 1.53 (colored)

If we are asked to print the total number of blocks, do so even if
we have no entries to print (either due to an empty directory or
an error).  This makes the -l and -s options more consistent, and
matches the behavior of AT&T and GNU ls.  From FreeBSD (das).
OK kn@

Revision 1.53 / (download) - annotate - [select for diffs], Mon Jul 6 00:55:05 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored)

Always print the directory name in -R mode; matches historical behavior.
Previously, our ls would only print the directory name when listing
more than one directory, which is the correct behavior for non-recursive
ls but not for -R mode.  OK deraadt@

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jul 6 00:51:51 2020 UTC (3 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.51: +4 -2 lines
Diff to previous 1.51 (colored)

Fix skipping of directories that begin with a '.' in -R mode.
It is not enough to avoid displaying the contents of the directory,
we need to set FTS_SKIP to avoid descending into any subdirs too.
Otherwise, if a ".foo" directory has a subdirectory "bar", ls will
descend into bar and display its contents.  OK deraadt@

Revision 1.51 / (download) - annotate - [select for diffs], Thu Sep 13 15:23:32 2018 UTC (5 years, 8 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored)

Fix warnings caused by user_from_uid() and group_from_gid() now
returning const char *.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Feb 4 22:09:33 2018 UTC (6 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored)

use sizeof, rather than the constant.  on change in binary.

Revision 1.49 / (download) - annotate - [select for diffs], Sun Feb 4 21:53:54 2018 UTC (6 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

repair ugly indents

Revision 1.48 / (download) - annotate - [select for diffs], Tue Aug 16 16:13:32 2016 UTC (7 years, 9 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Nuke some erroneous leading whitespace.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Aug 16 16:09:24 2016 UTC (7 years, 9 months ago) by krw
Branch: MAIN
Changes since 1.46: +9 -6 lines
Diff to previous 1.46 (colored)

Bring types of variables used with struct stat into the modern world.

Replace a couple of u_long paramaters with int as they were only passed int
values and the function re-cast them to (int) anyway. Weird.

ok tedu@

Revision 1.46 / (download) - annotate - [select for diffs], Mon Mar 28 11:25:35 2016 UTC (8 years, 2 months ago) by chl
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

remove unused variable

ok schwarze@

Revision 1.45 / (download) - annotate - [select for diffs], Thu Mar 17 05:27:10 2016 UTC (8 years, 2 months ago) by bentley
Branch: MAIN
Changes since 1.44: +11 -15 lines
Diff to previous 1.44 (colored)

Switch (non-curses, non-ksh) programs that use COLUMNS to a single idiom.

Previously behaviors were all over the map. This changes them to
use COLUMNS first, and either terminal width or a hardcoded value
(typically 80) as appropriate.

ok deraadt@; man bits ok jmc@

Revision 1.44 / (download) - annotate - [select for diffs], Tue Dec 1 18:36:13 2015 UTC (8 years, 6 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.43: +9 -3 lines
Diff to previous 1.43 (colored)

Support UTF-8: use wcwidth(3) for column adjustment and replace
non-printable Unicode codepoints and invalid bytes with ASCII
question marks.  No change for the SMALL version.

Using ideas developed by tedu@, phessler@, bentley@ and feedback from many.
OK yasuoka@ czarkoff@ sthen@.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Oct 9 01:37:06 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

Change all tame callers to namechange to pledge(2).

Revision 1.42 / (download) - annotate - [select for diffs], Sun Oct 4 16:00:43 2015 UTC (8 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.41: +4 -1 lines
Diff to previous 1.41 (colored)

ls can use tame "stdio rpath getpw".  It does uid/gid lookups, using
the 4.4bsd libc caching varients called user_from_uid/group_from_uid,
which are backed by getpw*/getgr* type functions.
ok semarie

Revision 1.41 / (download) - annotate - [select for diffs], Thu Jun 25 02:04:07 2015 UTC (8 years, 11 months ago) by uebayasi
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.40: +3 -1 lines
Diff to previous 1.40 (colored)

Put fts_close() where missing.

Not bugs in short-lived commands that call exit() -> _exit() immediately,
but for idempotency.

Originally found in ls(1) by Valgrind.  Changes for other commands are
from deraadt@.  Reviewed by me, tested in snapshots.

OK deraadt@

Revision 1.40 / (download) - annotate - [select for diffs], Sat Apr 18 18:28:36 2015 UTC (9 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.39: +12 -6 lines
Diff to previous 1.39 (colored)

Convert many atoi() calls to strtonum(), adding range checks and failure
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert

Revision 1.39 / (download) - annotate - [select for diffs], Mon Mar 31 20:54:37 2014 UTC (10 years, 2 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

restore the traditional behavior of -f implying -a; apparently Keith Bostic
forgot to restore it when the -f flag was put back on 2nd of September 1989,
after being removed on 16th of August as a consequence of issues getting it
working over NFS, so deviation from traditional UNIX behavior in all BSDs
looks like an historical accident; as a side effect, this change accommodates
behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1'').

joint work with jmc@ (who found the inaccuracy in our implementation),
schwarze@ (who provided a detailed tracking of historical facts) and millert@

ok millert@, schwarze@

Revision 1.38 / (download) - annotate - [select for diffs], Thu May 30 16:34:32 2013 UTC (11 years ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.37: +7 -4 lines
Diff to previous 1.37 (colored)

Fix column padding of inode numbers and block counts >2^32, as well as
display of directory block totals >2^32

ok tedu@

Revision 1.37 / (download) - annotate - [select for diffs], Fri Mar 4 21:03:19 2011 UTC (13 years, 3 months ago) by okan
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
Changes since 1.36: +5 -2 lines
Diff to previous 1.36 (colored)

add support for the (POSIX) -H flag

feedback and ok millert@, sobrado@, jmc@

Revision 1.36 / (download) - annotate - [select for diffs], Sun Sep 12 20:16:29 2010 UTC (13 years, 9 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

remove trailing spaces and tabs from source code; no binary change.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 27 23:59:21 2009 UTC (14 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.34: +1 -15 lines
Diff to previous 1.34 (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.34 / (download) - annotate - [select for diffs], Wed May 6 18:47:32 2009 UTC (15 years, 1 month ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.33: +7 -3 lines
Diff to previous 1.33 (colored)

do not ignore COLUMNS in -C mode, even if !isatty(STDOUT_FILENO)
from FreeBSD
ok millert@, posix checked by jmc@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Dec 30 15:37:30 2008 UTC (15 years, 5 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.32: +6 -2 lines
Diff to previous 1.32 (colored)

add a comment explaining the rather obscure decision when to recurse
or not; ok millert@ pedro@

Revision 1.32 / (download) - annotate - [select for diffs], Mon Dec 29 14:49:27 2008 UTC (15 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.31: +5 -4 lines
Diff to previous 1.31 (colored)

fix previous; e.g. ls /var/spool/mqueue as an oridinary user. ok
millert@ thib@

Revision 1.31 / (download) - annotate - [select for diffs], Wed Dec 24 20:57:21 2008 UTC (15 years, 5 months ago) by otto
Branch: MAIN
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Kill a race condition which occurs when listing a directory containing
an empty dir non-recursively. By not setting FTS_SKIP on the empty
subdir, a next iteration of the fts_read loop recurses into the
subdir, which might not be empty any more.  Report by jacekm@,
troublespot identified by pedro@; ok pedro@ millert@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Sep 4 15:44:41 2008 UTC (15 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.29: +12 -11 lines
Diff to previous 1.29 (colored)

- make -ln and -nl combinations behave identically. currently -l overrides -n.
behaviour now similar to netbsd/freebsd/solaris.

- make -gn and -ng combinations behave identically: long listing, numeric
group ID, no user ID. currently -g overrides -n. behaviour now similar to
netbsd/solaris.

- allow -m and -x to override -1Cgln (and each other) if specified last.
currently -m and -x can be overriden even if they are specified last.
behaviour now similar to netbsd/freebsd. fixes PR 5785 from
Jacek Masiulaniec.

- update man page to reflect reality.

ls.c diff based on Jacek Masiulaniec's diff from PR 5785, and extended by
sobrado. this work is really a joint effort from sobrado and myself.
i don't know about igor, but this particular diff has nearly killed me...

ok millert otto

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 7 18:39:28 2007 UTC (17 years, 1 month ago) by millert
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
Changes since 1.28: +18 -4 lines
Diff to previous 1.28 (colored)

Change the -g flag from a no-op to be POSIX conforming.  We allow the
-l flag to override -g regardless of its position on the command line
for backwards compat with 4.3BSD.  From NetBSD.
OK jmc@, tom@, sobrado@

Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 13 03:14:18 2006 UTC (18 years, 2 months ago) by dhill
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.27: +5 -4 lines
Diff to previous 1.27 (colored)

Change maxsize to type off_t.
Add a cast for portability's sake.

"Right..." @deraadt

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 30 00:57:25 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored)

another unused variable found by lint

Revision 1.26 / (download) - annotate - [select for diffs], Tue Nov 29 20:33:01 2005 UTC (18 years, 6 months ago) by otto
Branch: MAIN
Changes since 1.25: +2 -3 lines
Diff to previous 1.25 (colored)

kill unused var found by lint. ok deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Nov 25 20:37:45 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

do not exit from ls_main() but return; spotted by lint

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jun 15 17:47:17 2005 UTC (19 years ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.23: +3 -15 lines
Diff to previous 1.23 (colored)

remove whiteout support

Revision 1.23 / (download) - annotate - [select for diffs], Thu Mar 10 00:22:08 2005 UTC (19 years, 3 months ago) by jaredy
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

use fts_path if fts_name is not available, tweak and ok millert

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 2 07:31:06 2004 UTC (20 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.21: +8 -4 lines
Diff to previous 1.21 (colored)

Unbreak alignment of fields when using -lh.
ok deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Wed Aug 6 19:09:09 2003 UTC (20 years, 10 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.20: +7 -3 lines
Diff to previous 1.20 (colored)

-h, human readable sizes.  from a jonathon gray mail to tech@
ok ian@ millert@

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 11 23:42:12 2003 UTC (21 years ago) by deraadt
Branch: MAIN
Changes since 1.19: +6 -12 lines
Diff to previous 1.19 (colored)

ansification, art ok

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jun 2 23:32:08 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.18: +3 -7 lines
Diff to previous 1.18 (colored)

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

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 2 19:43:52 2003 UTC (21 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

strlcpy; millert ok

Revision 1.17 / (download) - annotate - [select for diffs], Tue Mar 12 01:05:15 2002 UTC (22 years, 3 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
Changes since 1.16: +7 -8 lines
Diff to previous 1.16 (colored)

o Remove local prototypes for group_from_gid() and user_from_uid()
  since they are prototyped in grp.h and pwd.h.
o Increase size of 'buf' to 21 since we store the string representation
  of a u_quad_t in it (max 20 chars + the NUL).
o Minor KNF wrt pointers in boolean context.
From Denis Afonin

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 16 21:27:07 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.15: +9 -9 lines
Diff to previous 1.15 (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.15 / (download) - annotate - [select for diffs], Mon Jul 9 00:37:53 2001 UTC (22 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)

-Wall

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 19 19:27:36 2000 UTC (23 years, 10 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.13: +7 -4 lines
Diff to previous 1.13 (colored)

new strtofflags/fflagstostr

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 1 23:54:47 1999 UTC (25 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.12: +2 -4 lines
Diff to previous 1.12 (colored)

defer conversion of unprintable filenames till final display, permitting
badly named symbolic links to be handled; bug noted by dm@ fixed by d@

Revision 1.12 / (download) - annotate - [select for diffs], Wed Feb 24 16:48:02 1999 UTC (25 years, 3 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.11: +13 -13 lines
Diff to previous 1.11 (colored)

save cpu cycles by being more sensible about how we check conditionals

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 23 23:54:17 1999 UTC (25 years, 3 months ago) by art
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Break out main to an own file so we can include ls in ftpd.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 20 18:59:25 1999 UTC (25 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.9: +29 -10 lines
Diff to previous 1.9 (colored)

add -x, -p, and -m options, based on netbsd work

Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 7 19:45:06 1998 UTC (25 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored)

fix exit code; problem reported by jsh@sun470.rd.qms.com; fix from freebsd

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 18 07:58:41 1997 UTC (26 years, 8 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.7: +7 -11 lines
Diff to previous 1.7 (colored)

make ls -d still sort files in the regular order; reported by
roberte@MEP.Ruhr-Uni-Bochum.de, fixed by sef@Kithrup.COM

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 1 22:59:38 1997 UTC (27 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.6: +20 -5 lines
Diff to previous 1.6 (colored)

option 'n' was unused, so let's come up with a feature to use it!!! YEAH!!
add -n (numeric uid/gid), fix some man page errors; tv@pobox.com

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jan 3 22:36:08 1997 UTC (27 years, 5 months ago) by millert
Branch: MAIN
Changes since 1.5: +15 -13 lines
Diff to previous 1.5 (colored)

From NetBSD:
    - Correct sorting behaviour.
    - Do multicolumn output in a way that's a more likely to line up evenly.
      From D'Arcy J.M. Cain <darcy@druid.com>, NetBSD PR #2965.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 14 12:18:03 1996 UTC (27 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.4: +6 -2 lines
Diff to previous 1.4 (colored)

-Wall'ing.

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

zap getopt() case of -?, come on, it is the default!

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 23 14:20:19 1996 UTC (27 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

update rcsid

Revision 1.2 / (download) - annotate - [select for diffs], Sat Feb 17 18:49:22 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.1: +6 -8 lines
Diff to previous 1.1 (colored)

From netbsd:
Changed so that COLUMNS environment variable will override the value
obtained via the TIOCGWINSIZ ioctl.  This is required by POSIX.2, see
section 4.39.5.3.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:37:14 1995 UTC (28 years, 8 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:37:14 1995 UTC (28 years, 8 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.