History log of /src/usr.bin/man/manconf.c |
Revision | | Date | Author | Comments |
1.8 |
| 17-Feb-2014 |
uwe | Check _build and _crunch commands with fmtcheck(3), warn about and ignore bad ones.
|
1.7 |
| 18-Jul-2013 |
christos | WARNS=6 - fix cast qual issues - don't use snprintf on a user-provided buffer
|
1.6 |
| 08-Mar-2008 |
christos | branches: 1.6.6; 1.6.28; 1.6.34; pass lint, from anon ymous
|
1.5 |
| 10-Apr-2006 |
chuck | branches: 1.5.12; 1.5.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.4 |
| 27-Oct-2003 |
lukem | Overhaul how `build.sh tools' are used:
* Rename "config.h" to "nbtool_config.h" and HAVE_CONFIG_H to HAVE_NBTOOL_CONFIG_H. This makes in more obvious in the source when we're using tools/compat/config.h versus "standard autoconf" config.h
* Consistently move the inclusion of nbtool_config.h to before <sys/cdefs.h> so that the former can provide __RCSID() (et al), and there's no need to protect those macros any more.
These changes should make it easier to "tool-ify" a program by adding: #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #endif to the top of the source files (for the general case).
|
1.3 |
| 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.2 |
| 13-Sep-2002 |
thorpej | branches: 1.2.2; Pull in config.h when building has a host tool.
|
1.1 |
| 13-Sep-2002 |
thorpej | Rename man/config.{c,h} to man/manconf.{c,h}, so we don't have to worry about problems including "config.h" when building as a host tool.
|
1.2.2.3 |
| 03-Nov-2002 |
he | Pull up revision 1.2 (requested by thorpej in ticket #788): Pull in config.h when building as a host tool.
|
1.2.2.2 |
| 03-Nov-2002 |
he | Pull up revision 1.1 (new, requested by thorpej in ticket #787): Rename man/config.{c,h} to man/manconf.{c,h}, so we do not have to worry about problems including "config.h" when building as a host tool.
|
1.2.2.1 |
| 13-Sep-2002 |
he | file manconf.c was added on branch netbsd-1-6 on 2002-11-03 13:47:55 +0000
|
1.5.18.1 |
| 24-Mar-2008 |
keiichi | sync with head.
|
1.5.12.1 |
| 23-Mar-2008 |
matt | sync with HEAD
|
1.6.34.1 |
| 23-Jul-2013 |
riastradh | sync with HEAD
|
1.6.28.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.6.6.1 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|