History log of /src/usr.bin/whatis/whatis.c |
Revision | | Date | Author | Comments |
1.24 |
| 06-Sep-2011 |
joerg | static + __dead
|
1.23 |
| 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.22 |
| 26-Sep-2006 |
daniel | branches: 1.22.18; PR/9742: whatis doesn't deal with '.' in manpage names (John Hawkinson)
Use name matching code from OpenBSD (ack christos@).
|
1.21 |
| 10-Apr-2006 |
chuck | 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.20 |
| 25-Aug-2005 |
rpaulo | PR bin/31068: whatis doesn't find /bin/[ by Zafer Aydogan. Patch provided by Jukka Salmi. I just added a comment.
|
1.19 |
| 05-Nov-2004 |
dsl | branches: 1.19.2; Use isalnum((unsigned char)x) instead of testing both isdigit() and isalpha()
|
1.18 |
| 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.17 |
| 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.16 |
| 13-Sep-2002 |
mycroft | config.[ch] -> manconf.[ch]
|
1.15 |
| 11-Jun-2002 |
lukem | cleanup TAILQ use
|
1.14 |
| 11-Jun-2002 |
itojun | sync with usr.bin/man change
|
1.13 |
| 08-Mar-2002 |
jdolecek | branches: 1.13.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.12 |
| 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.11 |
| 19-Jun-1998 |
kleink | GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being enabled is the default behaviour.
|
1.10 |
| 03-Feb-1998 |
perry | change includes to fix compiler warning
|
1.9 |
| 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.8 |
| 01-Nov-1997 |
lukem | getopt returns -1 not EOF
|
1.7 |
| 20-Oct-1997 |
mikel | branches: 1.7.2; fix problem from PR4292 here as well
|
1.6 |
| 20-Oct-1997 |
lukem | deprecate register, fix .Nm usage
|
1.5 |
| 17-Oct-1997 |
mikel | cleanup for WARNS=1; also avoid feeding relative pathnames to #include, and avoid using array contents out of scope.
|
1.4 |
| 17-Oct-1997 |
mikel | add support for globbing _whatdb entries in man.conf; from Mike Grupenhoff in PR bin/1904 with some improvements by myself.
|
1.3 |
| 09-Jan-1997 |
tls | RCS ID Police, also Sync to 4.4BSD-Lite2
|
1.2 |
| 21-Dec-1994 |
jtc | misc cleanup by jimj and myself.
|
1.1 |
| 21-Dec-1993 |
cgd | branches: 1.1.1; add whatis(1); part of new man(1) package from Bostic
|
1.1.1.1 |
| 09-Jan-1997 |
tls | Import from 4.4BSD-Lite2
|
1.7.2.1 |
| 12-Nov-1997 |
mellon | Pull rev 1.8 and 1.9 up from trunk (mrg)
|
1.13.2.1 |
| 03-Nov-2002 |
he | Pull up revisions 1.14-1.16 (requested by he in ticket #787): Make these compile again, after the changes in ticket #787.
|
1.19.2.1 |
| 14-Sep-2005 |
tron | Pull up following revision(s) (requested by rpaulo in ticket #779): usr.bin/whatis/whatis.c: revision 1.20 PR bin/31068: whatis doesn't find /bin/[ by Zafer Aydogan. Patch provided by Jukka Salmi. I just added a comment.
|
1.22.18.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|