itojun
d0a2aaaa79
use bounded string ops
2003-07-13 12:27:14 +00:00
itojun
5397d22f9f
KNF
2003-05-09 00:47:46 +00:00
itojun
830e70f6d0
readlink(3) does not terminate string by \0.
2003-05-09 00:43:46 +00:00
provos
32b88027c7
use readlink with bufsize - 1; approved thorpej.
2002-10-19 20:33:17 +00:00
mycroft
a939a62069
config.[ch] -> manconf.[ch]
2002-09-13 20:40:04 +00:00
lukem
334bc46aa5
- 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
2002-06-11 04:39:52 +00:00
uwe
2e8ee296d6
Don't discard all the hard work of setdefentries() and uniquepath().
...
Fixes bin/12742. Reviewed by jdolecek.
2001-05-20 22:05:30 +00:00
jdolecek
28324fdada
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
2000-05-29 21:05:34 +00:00
tsutsui
5cb06e6456
Use uname(3) to determine MACHINE type.
2000-01-09 04:54:53 +00:00
mycroft
ce477983b4
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.
1999-04-20 14:22:32 +00:00
dante
554cdf7fe9
No more core dump if _crunch section is missing in man.conf
1999-04-20 10:59:13 +00:00
mycroft
a6b6e0db55
Don't rebuild the cat page if the time stamp is the *same*; this can happen
...
just because `make install' ran quickly.
1999-04-20 05:02:36 +00:00
dante
bea7444699
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 :-)
1999-04-04 10:56:38 +00:00
mrg
d23e58fc15
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.
1997-10-24 01:31:35 +00:00
lukem
149f1867d1
rcsid fascism
1997-10-18 04:36:50 +00:00
lukem
272b4a406a
getopt returns -1 not EOF, WARNSify
1997-10-18 04:11:01 +00:00
cgd
dd243c0bb4
kill hard coded paths, kill typos and a couple of bogons, etc.
1994-04-27 22:37:11 +00:00
chopps
fb4bff1785
make whatis even if no formating.
1994-04-26 20:39:22 +00:00
chopps
afaaa07188
It has some form of usefullness now, still no man.conf.
1994-04-26 20:15:50 +00:00
jtc
42f840d29d
Fix spelling error in Copyright notice
1994-01-29 01:43:03 +00:00
mycroft
aee4b07b8a
Add RCS identifiers, remove some completely useless RCS logs and patchkit
...
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
jtc
78df5feb47
First cut at "catman"
1993-07-27 21:29:27 +00:00