History log of /netbsd-current/bin/ls/extern.h
Revision Date Author Comments
# 1.17 29-Aug-2011 joerg

Move usage and mark it static+dead


# 1.16 14-Dec-2006 he

Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
o Bump libutil minor version number
o Fix uses to include <util.h> to pick up the function definitions
o Fix most uses of flags_to_string() to release the now-malloc()ed result


# 1.15 14-Sep-2003 jschauma

Implement '-b' option, which, following FreeBSD, Linux and (I think) Solaris
prints octal escapes for nongraphic characters.


# 1.14 07-Aug-2003 agc

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22249, verified by myself.


# 1.13 28-Jul-2000 lukem

convert to new KNF


# 1.12 22-Jun-2000 assar

make sure to print file names consistenly in column mode


# 1.11 16-Jun-2000 assar

branches: 1.11.2;
Do not modify the file name when not printing non-printables, also do
it consistently with the file name and possible symbolic link target.

fixes bin/10385 and bin/10384


# 1.10 17-May-1999 lukem

branches: 1.10.6;
Rename ls.c::main() -> ls.c::ls_main(), and add a wrapper in main.c::main().
This allows other programs to link in against ls (e.g, ftpd), without having
to have hacks to deal with multiple main()s.

Yes, I know this is ugly. The clean alternative (move lots of this
into libutil, yada yada yada) isn't fun, and the effort probably isn't
justified...


# 1.9 12-Feb-1999 kleink

Implement 1003.2 -m option (stream output format).


# 1.8 10-Oct-1998 mrg

create a "stat_flags.h" to go with stat_flags.c


# 1.7 18-Jan-1998 lukem

* implement -x; sort columns across the page rather than down the page
* in printcol(), don't bother building an index to the linked list if
only printing one column with printscol()...
* implement -n; prevent [gu]id->name mapping in long listings.
inspired by openbsd, but does *not* imply -l by itself.
* fix sorting with -d (or mismatched types in general). (from openbsd).
* document -g. (from openbsd).


# 1.6 20-Jul-1997 christos

Fix compiler warnings.
Add WARNS=1


# 1.5 21-Mar-1995 cgd

convert to new RCS id conventions.


# 1.4 23-Sep-1994 mycroft

Merge with 4.4-Lite version.


# 1.3 25-Jan-1994 cgd

(1) fixup getbsize() calls
(2) convert to use err(), warn(), and warnx(), as appropriate.


# 1.2 05-Dec-1993 mycroft

Patches from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de> to allow
sorting by size.


# 1.1 06-Aug-1993 mycroft

branches: 1.1.1;
New file.
Note: This version of ls has deprecated the `-g' option. This is for POSIX
compatibility, I think.


# 1.1.1.1 21-Sep-1994 mycroft

Import original 4.4-Lite version.


# 1.10.6.1 22-Jun-2000 minoura

Sync w/ netbsd-1-5-base.


# 1.11.2.1 26-Jun-2000 assar

merge in fixes for printing of strange filenames in column mode from trunk
approved by releng-1-5