diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-25 16:53:51 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-12-25 16:53:51 +0000 |
commit | b7365608ef06a71f7d9658905a3ceb25eeb5089b (patch) | |
tree | d1a0b7f2f90df9c8c61f0566d62665c42573a4cc | |
parent | e354f02652b641f5d8891c38baf28df81421f487 (diff) | |
download | mandoc-b7365608ef06a71f7d9658905a3ceb25eeb5089b.tar.gz |
Use the traditional name "whatis.db" for the mandocdb(8) databases.
Requested by deraadt@, ok kristaps@.
-rw-r--r-- | apropos.1 | 4 | ||||
-rw-r--r-- | mandocdb.8 | 10 | ||||
-rw-r--r-- | mandocdb.c | 2 | ||||
-rw-r--r-- | mandocdb.h | 4 | ||||
-rw-r--r-- | whatis.1 | 4 |
5 files changed, 12 insertions, 12 deletions
@@ -258,11 +258,11 @@ If none of these conditions are met, it overrides the default list. .El .Sh FILES .Bl -tag -width "/etc/man.conf" -compact -.It Pa mandoc.db +.It Pa whatis.db name of the .Xr mandocdb 8 keyword database -.It Pa mandoc.index +.It Pa whatis.index name of the .Xr mandocdb 8 filename database @@ -119,7 +119,7 @@ is printed to stderr, omitted from the index, and the parse continues with the next input file. .Ss Index Database The index database, -.Pa mandoc.index , +.Pa whatis.index , is a .Xr recno 3 database with record values consisting of @@ -155,7 +155,7 @@ Each of the above is NUL-terminated. If the record value is zero-length, it is unassigned. .Ss Keyword Database The keyword database, -.Pa mandoc.db , +.Pa whatis.db , is a .Xr btree 3 database of NUL-terminated keywords (record length is non-zero string @@ -221,12 +221,12 @@ or respectively, grows as a multiple of the index length and input size. .Sh FILES .Bl -tag -width Ds -.It Pa mandoc.db +.It Pa whatis.db A .Xr btree 3 keyword database mapping keywords to a type and file reference in -.Pa mandoc.index . -.It Pa mandoc.index +.Pa whatis.index . +.It Pa whatis.index A .Xr recno 3 database of indexed file-names. @@ -1538,7 +1538,7 @@ ofile_argbuild(int argc, char *argv[], struct of **of) * Recursively build up a list of files to parse. * We use this instead of ftw() and so on because I don't want global * variables hanging around. - * This ignores the mandoc.db and mandoc.index files, but assumes that + * This ignores the whatis.db and whatis.index files, but assumes that * everything else is a manual. * Pass in a pointer to a NULL structure for the first invocation. */ @@ -17,8 +17,8 @@ #ifndef MANDOCDB_H #define MANDOCDB_H -#define MANDOC_DB "mandoc.db" -#define MANDOC_IDX "mandoc.index" +#define MANDOC_DB "whatis.db" +#define MANDOC_IDX "whatis.index" #define TYPE_An 0x0000000000000001ULL #define TYPE_Ar 0x0000000000000002ULL @@ -130,11 +130,11 @@ If none of these conditions are met, it overrides the default list. .El .Sh FILES .Bl -tag -width "/etc/man.conf" -compact -.It Pa mandoc.db +.It Pa whatis.db name of the .Xr mandocdb 8 keyword database -.It Pa mandoc.index +.It Pa whatis.index name of the .Xr mandocdb 8 filename database |