Commit Graph

18 Commits

Author SHA1 Message Date
jdolecek 0f794d6d71 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
2002-03-08 20:23:10 +00:00
cgd a8ec668ddf convert to use getprogname() 2001-02-19 23:03:42 +00:00
christos 8f3b31ba6f fix nested extern 2001-02-05 01:21:00 +00:00
christos 1a67b18deb char -> unsigned char 1998-11-06 22:29:44 +00:00
kleink d39ba37ccb Since GLOB_NOCHECK is not set, explicitly check for a return value of
GLOB_NOMATCH from glob().  Noticed by Juergen Hannken-Illjes.
1998-07-06 14:23:31 +00:00
kleink fc5d36f8e4 GLOB_QUOTE is dead; per POSIX, backslash quoting of special characters being
enabled is the default behaviour.
1998-06-19 22:58:04 +00:00
mrg 81a056bc2e 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)).
1997-11-12 00:04:49 +00:00
mikel 44fd5cbf64 fix PR 4292 slightly differently 1997-10-20 23:02:09 +00:00
lukem ec92bfb4f7 don't dump core if the search path contains a non-existant whatis.db file
from Dave Huang <khym@bga.com> in [bin/4292]
1997-10-20 02:11:32 +00:00
mikel 9653f53ecf cleanup for WARNS=1; also avoid using relative paths with #include, and
avoid using the contents of an array outside of its scope.
1997-10-17 06:49:16 +00:00
mikel effc153920 add support for globbing _whatdb entries in man.conf; from Mike
Grupenhoff in PR bin/1904.
1997-10-16 08:44:23 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
tls b1db8b2668 Sync with 4.4lite2 1995-09-04 20:46:14 +00:00
glass daca2c10b4 oops 1995-03-26 02:22:13 +00:00
glass 0a334e76e7 cleanup old import 1995-03-25 04:36:52 +00:00
glass 7711afad47 update to 4.4-lite, add rcs ids 1994-09-25 07:55:08 +00:00
glass 6662274f56 import from 4.4 lite 1994-09-25 07:20:52 +00:00
cgd 44aa388738 add apropos(1); part of new man(1) package from Bostic 1993-12-21 02:56:27 +00:00