| History log of /src/usr.sbin/catman |
| Revision | Date | Author | Comments |
| 1.11 | 03-Jun-2023 |
lukem | bsd.own.mk: rename GCC_NO_* to CC_WNO_*
Rename compiler-warning-disable variables from GCC_NO_warning to CC_WNO_warning where warning is the full warning name as used by the compiler.
GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH
Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
|
| 1.10 | 13-Oct-2019 |
mrg | introduce some common variables for use in GCC warning disables:
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8) GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8) GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8) GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many of these are false positives, most of the real bugs are already commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the "-Wno-error=" form, which still displays the warnings but does not make it an error, and all of the above will be re-considered as either being "fix me" (warning still displayed) or "warning is wrong."
|
| 1.9 | 16-Aug-2011 |
christos | branches: 1.9.42; document non-literal format
|
| 1.8 | 18-Sep-2002 |
lukem | use NETBSDSRCDIR as appropriate
|
| 1.7 | 13-Sep-2002 |
mycroft | config.[ch] -> manconf.[ch]
|
| 1.6 | 04-Apr-1999 |
dante | branches: 1.6.10; Reference config.c and config.h from usr.bin/man
|
| 1.5 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.4 | 18-Oct-1997 |
lukem | rcsid fascism
|
| 1.3 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
| 1.2 | 02-Aug-1993 |
mycroft | Add RCS identifiers, remove some completely useless RCS logs and patchkit headers, and a few other insignificant changes.
|
| 1.1 | 27-Jul-1993 |
jtc | First cut at "catman"
|
| 1.6.10.1 | 03-Nov-2002 |
he | Pull up revision 1.7 (requested by he): Make these compile again, after the changes in ticket #787.
|
| 1.9.42.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.1 | 29-May-2016 |
dholland | Add notes on how to lift the BUGS entry in the man page (about not supporting hardlinks) in case anyone thinks it's worth doing sometime.
|
| 1.2 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.1 | 27-Jul-1993 |
jtc | First cut at "catman"
|
| 1.12 | 15-Aug-2021 |
christos | Restore BSD BUGS section
|
| 1.11 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
| 1.10 | 19-Jan-2002 |
wiz | Whitespace and punctuation nits.
|
| 1.9 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.8 | 18-Oct-1997 |
lukem | rcsid fascism
|
| 1.7 | 18-Oct-1997 |
lukem | getopt returns -1 not EOF, WARNSify
|
| 1.6 | 27-Apr-1994 |
cgd | make a bit clearer
|
| 1.5 | 27-Apr-1994 |
cgd | kill hard coded paths, kill typos and a couple of bogons, etc.
|
| 1.4 | 26-Apr-1994 |
chopps | It has some form of usefullness now, still no man.conf.
|
| 1.3 | 29-Jan-1994 |
jtc | Fix spelling error in Copyright notice
|
| 1.2 | 02-Aug-1993 |
mycroft | Add RCS identifiers, remove some completely useless RCS logs and patchkit headers, and a few other insignificant changes.
|
| 1.1 | 27-Jul-1993 |
jtc | First cut at "catman"
|
| 1.38 | 12-Oct-2019 |
christos | enlarge buffer sizes
|
| 1.37 | 29-May-2016 |
dholland | branches: 1.37.16; Call the path for makewhatis _PATH_MAKEWHATIS instead of _PATH_WHATIS, for clarity.
|
| 1.36 | 29-May-2016 |
dholland | Add missing rcsid.
|
| 1.35 | 31-Jul-2013 |
soren | Only try to recreate symlinks in the cat directory if they are local.
|
| 1.34 | 24-Dec-2011 |
christos | branches: 1.34.6; make len unsigned; -1 will turn into a large number, failing the test.
|
| 1.33 | 24-Dec-2011 |
christos | check also for overflow
|
| 1.32 | 24-Dec-2011 |
christos | Don't repeat what we just printed.
|
| 1.31 | 24-Dec-2011 |
christos | PR/45660: Henning Petersen: Overlapping buffer in catman.c.
|
| 1.30 | 29-Aug-2011 |
joerg | branches: 1.30.2; Use __dead.
|
| 1.29 | 15-Apr-2009 |
lukem | Fix -Wsign-compare issues
|
| 1.28 | 02-May-2008 |
xtraeme | branches: 1.28.8; WARNS=4 love.
|
| 1.27 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
| 1.26 | 10-Apr-2006 |
chuck | branches: 1.26.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.25 | 26-Mar-2006 |
christos | PR/33123: Murray Armfield: standards compliance & glob.h Certain fields in glob.h need to be size_t; fix this and version glob(3). http://www.opengroup.org/onlinepubs/000095399/basedefs/glob.h.html
|
| 1.24 | 29-Oct-2004 |
dsl | Add (unsigned char) cast to ctype functions
|
| 1.23 | 10-May-2004 |
kleink | Undo a pointless instance of readlink(2) buffer termination.
|
| 1.22 | 13-Jul-2003 |
itojun | use bounded string ops
|
| 1.21 | 09-May-2003 |
itojun | KNF
|
| 1.20 | 09-May-2003 |
itojun | readlink(3) does not terminate string by \0.
|
| 1.19 | 19-Oct-2002 |
provos | use readlink with bufsize - 1; approved thorpej.
|
| 1.18 | 13-Sep-2002 |
mycroft | config.[ch] -> manconf.[ch]
|
| 1.17 | 11-Jun-2002 |
lukem | - getlist(): add "int create" arg, which creates list if it's not present (using guts of now defunct addlist()) - use TAILQ_*() macros appropriately when manipulating tailqs
|
| 1.16 | 20-May-2001 |
uwe | branches: 1.16.2; Don't discard all the hard work of setdefentries() and uniquepath(). Fixes bin/12742. Reviewed by jdolecek.
|
| 1.15 | 29-May-2000 |
jdolecek | branches: 1.15.2; avoid using removelist()/renamelist() while here, do some whitespace/const cleanup, convert to use addentry(), g/c section[] (now uses buf[] directly) - 10 character limit for section name is gone
|
| 1.14 | 09-Jan-2000 |
tsutsui | branches: 1.14.2; Use uname(3) to determine MACHINE type.
|
| 1.13 | 20-Apr-1999 |
mycroft | The previous change didn't even compile due to a warning. Also, fix the same core dump in the case where there are no `_build' lines. These should probably both emit a warning, so the user knows what happened.
|
| 1.12 | 20-Apr-1999 |
dante | No more core dump if _crunch section is missing in man.conf
|
| 1.11 | 20-Apr-1999 |
mycroft | Don't rebuild the cat page if the time stamp is the *same*; this can happen just because `make install' ran quickly.
|
| 1.10 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.9 | 24-Oct-1997 |
mrg | while catman doesn't `work' properly yet, use snprintf() when creating the man paths, and add man section 9. hopefully, this program will actually work soon.
|
| 1.8 | 18-Oct-1997 |
lukem | rcsid fascism
|
| 1.7 | 18-Oct-1997 |
lukem | getopt returns -1 not EOF, WARNSify
|
| 1.6 | 27-Apr-1994 |
cgd | kill hard coded paths, kill typos and a couple of bogons, etc.
|
| 1.5 | 26-Apr-1994 |
chopps | make whatis even if no formating.
|
| 1.4 | 26-Apr-1994 |
chopps | It has some form of usefullness now, still no man.conf.
|
| 1.3 | 29-Jan-1994 |
jtc | Fix spelling error in Copyright notice
|
| 1.2 | 02-Aug-1993 |
mycroft | Add RCS identifiers, remove some completely useless RCS logs and patchkit headers, and a few other insignificant changes.
|
| 1.1 | 27-Jul-1993 |
jtc | First cut at "catman"
|
| 1.14.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
| 1.15.2.1 | 07-Jun-2001 |
he | Pull up revision 1.16 (requested by uwe): Fix catman(8) processing of globs in /etc/man.conf. Fixes PR#12742, PR#12903.
|
| 1.16.2.1 | 03-Nov-2002 |
he | Pull up revisions 1.17-1.18 (requested by he in ticket #787): Make these compile again, after the changes in ticket #787.
|
| 1.26.18.1 | 18-May-2008 |
yamt | sync with head.
|
| 1.28.8.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.2.2 | 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")
|
| 1.30.2.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.34.6.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.37.16.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.2 | 04-Apr-1999 |
dante | catman now use config.c and config.h from usr.bin/man
|
| 1.1 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.2 | 04-Apr-1999 |
dante | catman now use config.c and config.h from usr.bin/man
|
| 1.1 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.6 | 29-May-2016 |
dholland | Call the path for makewhatis _PATH_MAKEWHATIS instead of _PATH_WHATIS, for clarity.
|
| 1.5 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
| 1.4 | 04-Apr-1999 |
dante | Add catman. It require "_crunch" section in /etc/man.conf to re-compress the compressed man pages. It handle symbolic links, but at this time no hard links. config files are stolen from man with few changes to support "_crunch" section.
catman.8 miss the "full moon" joke, I can't remember it, if you can pleas add it :-)
|
| 1.3 | 24-Oct-1997 |
mrg | while catman doesn't `work' properly yet, use snprintf() when creating the man paths, and add man section 9. hopefully, this program will actually work soon.
|
| 1.2 | 18-Oct-1997 |
lukem | rcsid fascism
|
| 1.1 | 27-Apr-1994 |
cgd | kill hard coded paths, kill typos and a couple of bogons, etc.
|