Commit Graph

24 Commits

Author SHA1 Message Date
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
tv cce248537b Make this compilable as a host tool. 2002-01-31 19:23:50 +00:00
wiz c6c6db2fc7 "-indent" is not a valid .Bl argument, "-offset indent" is (found by
groff-1.17.2).
Fix some whitespace.
2001-10-17 22:28:49 +00:00
jdolecek b80b95a77a Examine input files and set the openinfo hint accordingly to number of
found records. This makes resulting db for small capability databases
much smaller - for vgrind(1), the resulting vgrindefs.db is about 24KB
instead of ~500KB.

The hint passed to dbopen() is number of records in input files
rounded up to nearest power-of-two value and multiplied by two.
Besides being a nice conservative value, termcap.db become about
70KB bigger if the hint matches the count of records (1023), probably
due to hash overflows.
2001-01-28 20:01:42 +00:00
jdolecek 26a80cb447 make local functions static 2001-01-28 19:42:17 +00:00
jdolecek 8d46cb93bd db_build(): fix memory leak, free() the buffer allocated by cgetnext() on
every loop iteration
2001-01-28 17:34:31 +00:00
mjl 7063d4bc33 Un-__P and ANSIfy. 2000-10-04 20:02:26 +00:00
mjl a1ac373d57 Remove unused includes. 2000-10-04 20:00:47 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
msaitoh 759d929514 s/ as as / are as / 1999-10-08 18:13:16 +00:00
simonb a1997f6cbe Add -b and -l options to generate big- or little-endian databases
regardless of host byte order.
1999-06-27 05:49:02 +00:00
mycroft 8cedc3e89f Increase the initial hash table size. 1998-07-28 19:27:00 +00:00
mrg 15dc191955 fix compile warnings on the alpha. 1997-10-19 14:05:47 +00:00
lukem 9992ac3ea9 getopt returns -1 not EOF 1997-10-18 12:54:24 +00:00
lukem b749a32930 WARNSify, fix .Nm usage 1997-10-18 12:31:01 +00:00
cgd c917dfb5b2 Fix broken uses of Dd. Both the mdoc and mdoc.samples pages agree:
.Dd is supposed to be invoked like:
	.Dd month day, year
e.g. ".Dd January 25, 1989", rather than:
	.Dd "month day, year"
which is what these pages did.
1997-05-29 01:48:05 +00:00
lukem 5d37ffa7eb fix the the typos 1996-11-10 23:58:22 +00:00
jtc 3e4b73c5a6 Sync with 4.4lite2 1995-09-02 05:45:13 +00:00
glass c27cdc6057 new rcsid format 1995-03-26 03:59:33 +00:00
mycroft 573393b3d1 Tweak the hash parameters a bit; big win when run over NFS. Merge (copyright
notice) changes from 4.4-Lite.
1994-08-29 22:53:45 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 8d5826635d bring in getcap routines, supplied by CSRG, from 4.4... 1993-05-18 07:37:51 +00:00