summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/dba_read.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When the content of a manual page does not specify a section, theschwarze2016-08-171-5/+4
| | | | | | | | empty string got added to the list of sections, breaking the database format slightly and causing the page to not be considered part of any section, not even if a section could be deduced from the directory or from the file name. Bug found due to the bogus pcredemo(3) "manual" in the pcre-8.38p0 package.
* When reading back a mandoc.db(5) file in order to apply incrementalschwarze2016-08-171-4/+3
| | | | | | changes, do not prepend a stray NAME_FILE (0x10) byte to the first names of pages. Bug found while investigating another issue reported by sthen@.
* Fix an assertion failure that happened when trying to add a pageschwarze2016-08-041-2/+2
| | | | | with makewhatis -d to a completely empty database. Reported by Mark Patruck <mark at wrapped dot cx>, thanks!
* Remove the dependency on SQLite without loss of functionality.schwarze2016-08-011-0/+74
Drop the obsolete names_check() now that we deleted MLINKS. Run "doas makewhatis" after compiling and installing this. Earlier version tested by jmc@ and jturner@; "commit it all" deraadt@ "commit and dodge" krw@