Home | History | Annotate | only in /src/usr.bin/apropos
History log of /src/usr.bin/apropos
RevisionDateAuthorComments
 1.13 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.12 08-Mar-2008  christos branches: 1.12.10;
pass lint, from anon ymous
 1.11 19-Sep-2002  lukem branches: 1.11.24; 1.11.30;
- revert change to accessing ../man/ includes as <man/xxx.h>; it's
ugly to add -I.../usr.bin to do this. instead, add appropriate
comments in the source to where the files are actually coming from.
- use NETBSDSRCDIR as appropriate
- some minor makefile delint
 1.10 13-Sep-2002  mycroft config.[ch] -> manconf.[ch]
 1.9 08-Mar-2002  jdolecek branches: 1.9.2;
use -I${CURDIR}/.. and #include <man/config.h>, <man/pathnames.h> so
that it's easier to tell from where do they come, and more easily
usable in host tool code when cut&pasted
use TAILQ_* macros as apropriate
use EXIT_FAILURE for the glob error case, too
 1.8 17-Oct-1997  mikel now needs -I to find headers from ../man
 1.7 08-May-1997  gwr Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
 1.6 06-May-1997  gwr Use .PATH.c: ...
 1.5 09-Jan-1997  tls RCS ID police
 1.4 04-Sep-1995  tls Sync with 4.4lite2
 1.3 25-Mar-1995  glass cleanup old import
 1.2 25-Sep-1994  glass update to 4.4-lite, add rcs ids
 1.1 21-Dec-1993  cgd branches: 1.1.1;
add apropos(1); part of new man(1) package from Bostic
 1.1.1.1 25-Sep-1994  glass import from 4.4 lite
 1.9.2.1 03-Nov-2002  he Pull up revision 1.10 (requested by he):
Make these compile again, after the changes in ticket #787.
 1.11.30.1 24-Mar-2008  keiichi sync with head.
 1.11.24.1 23-Mar-2008  matt sync with HEAD
 1.12.10.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.11 08-May-2009  wiz Add support for -S and -s option, which limit the results to a specific
architecture or section, respectively.
Based on a patch for OpenBSD from Ingo Schwarze, modified for NetBSD by me.

Add some constification.

Ok lukem@ (to the non-constified version of the patch).
 1.10 07-Aug-2003  agc branches: 1.10.42;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.9 08-Mar-2002  jdolecek document -C option, add /etc/man.conf to FILES and xref man.conf(5)
 1.8 07-Nov-2000  lukem fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
 1.7 15-Oct-1998  ross Add missing .El
 1.6 09-Apr-1998  fair add .Xr makewhatis 8
 1.5 09-Jan-1997  tls RCS ID police
 1.4 04-Sep-1995  tls Sync with 4.4lite2
 1.3 25-Mar-1995  glass cleanup old import
 1.2 25-Sep-1994  glass update to 4.4-lite, add rcs ids
 1.1 21-Dec-1993  cgd branches: 1.1.1;
add apropos(1); part of new man(1) package from Bostic
 1.1.1.1 25-Sep-1994  glass import from 4.4 lite
 1.10.42.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.30 08-May-2009  wiz Add support for -S and -s option, which limit the results to a specific
architecture or section, respectively.
Based on a patch for OpenBSD from Ingo Schwarze, modified for NetBSD by me.

Add some constification.

Ok lukem@ (to the non-constified version of the patch).
 1.29 21-Jul-2008  lukem branches: 1.29.6;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.28 08-Mar-2008  christos branches: 1.28.4;
pass lint, from anon ymous
 1.27 10-Apr-2006  chuck branches: 1.27.12; 1.27.18;
modified man(1):
- avoid double slashes when displaying man pages (got tired
of '/usr/share/man//cat1/man.0').
- got rid of __P() while working on it.
- incorporate some of my old notes explaining how manpath works into the
comments of the code itself.
- renamed some of the vars so that the code is consistent throughout
(and hopefully clearer and easier to understand)
- fixed relative man paths for multiple man pages (man did a chdir()
on the first man page it had to format --- this broke any remaining
relative path man pages left to process). save old directory and
fchdir() back to it after formatting.
- improved doc on "man -h" which does more than just whatis(1) [e.g.
"man -h fopen" prints the required include files and the prototypes
rather than just the one-liner you get with whatis(1)]
- manconf.c now fills in the "len" length field in the TAG/ENTRY
structures (man now uses len).

revise man.conf file reading stuff to return error on failure in
addentry/gettag (fka getlist) rather than just err()ing out. this
allows man(1) to call cleanup and delete its tmp files rather than
just leave them floating. revise other apps using this code
(makewhatis, apropos, catman, whatis) to expect this. also remove
__P on updated files.
 1.26 17-Sep-2005  elad Fix buffer overflow. We don't really care about trimming the filename here.
PR/28739, from Michael Santos.
 1.25 17-Feb-2005  xtraeme Kill __P(), use ANSI function declarations.
 1.24 30-Oct-2004  dsl Add (unsigned char) cast to ctype functions
 1.23 05-Jan-2004  jmmv Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
 1.22 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.21 19-Sep-2002  lukem - revert change to accessing ../man/ includes as <man/xxx.h>; it's
ugly to add -I.../usr.bin to do this. instead, add appropriate
comments in the source to where the files are actually coming from.
- use NETBSDSRCDIR as appropriate
- some minor makefile delint
 1.20 13-Sep-2002  mycroft config.[ch] -> manconf.[ch]
 1.19 11-Jun-2002  lukem cleanup TAILQ use
 1.18 11-Jun-2002  itojun make it compile; sync w/ usr.bin/man change
 1.17 08-Mar-2002  jdolecek branches: 1.17.2;
use -I${CURDIR}/.. and #include <man/config.h>, <man/pathnames.h> so
that it's easier to tell from where do they come, and more easily
usable in host tool code when cut&pasted
use TAILQ_* macros as apropriate
use EXIT_FAILURE for the glob error case, too
 1.16 19-Feb-2001  cgd convert to use getprogname()
 1.15 05-Feb-2001  christos fix nested extern
 1.14 06-Nov-1998  christos char -> unsigned char
 1.13 06-Jul-1998  kleink Since GLOB_NOCHECK is not set, explicitly check for a return value of
GLOB_NOMATCH from glob(). Noticed by Juergen Hannken-Illjes.
 1.12 19-Jun-1998  kleink GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
enabled is the default behaviour.
 1.11 12-Nov-1997  mrg handle strings longer than 256 bytes. should do this with fgetln()...but
fgetln() doesn't nul terminate, and thus requires malloc/copy for each
interation (actually, *two* for whatis(1)).
 1.10 20-Oct-1997  mikel branches: 1.10.2;
fix PR 4292 slightly differently
 1.9 20-Oct-1997  lukem don't dump core if the search path contains a non-existant whatis.db file
from Dave Huang <khym@bga.com> in [bin/4292]
 1.8 17-Oct-1997  mikel cleanup for WARNS=1; also avoid using relative paths with #include, and
avoid using the contents of an array outside of its scope.
 1.7 16-Oct-1997  mikel add support for globbing _whatdb entries in man.conf; from Mike
Grupenhoff in PR bin/1904.
 1.6 09-Jan-1997  tls RCS ID police
 1.5 04-Sep-1995  tls Sync with 4.4lite2
 1.4 26-Mar-1995  glass oops
 1.3 25-Mar-1995  glass cleanup old import
 1.2 25-Sep-1994  glass update to 4.4-lite, add rcs ids
 1.1 21-Dec-1993  cgd branches: 1.1.1;
add apropos(1); part of new man(1) package from Bostic
 1.1.1.2 04-Sep-1995  tls imported from 44lite2
 1.1.1.1 25-Sep-1994  glass import from 4.4 lite
 1.10.2.1 12-Nov-1997  mellon Pull rev 1.11 up from trunk (mrg)
 1.17.2.1 03-Nov-2002  he Pull up revisions 1.18-1.20 (requested by he in ticket #787):
Make these compile again, after the changes in ticket #787.
 1.27.18.1 24-Mar-2008  keiichi sync with head.
 1.27.12.1 23-Mar-2008  matt sync with HEAD
 1.28.4.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.29.6.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed