summaryrefslogtreecommitdiffstats
path: root/dba_read.c
Commit message (Collapse)AuthorAgeFilesLines
* spelling fixes from Paul Tagliamonte via tech@ and jmc@Ingo Schwarze2023-04-281-1/+1
|
* Because mandoc_aux.h and mandoc.h use __attribute__, all files thatIngo Schwarze2020-06-221-1/+3
| | | | | | | | include mandoc_aux.h or mandoc.h need to include config.h, too. It is suspected that for example IRIX needs this, or it is likely to throw errors in these files because the system compiler doesn't understand __attribute__. Issue reported by Kazuo Kuroi <kazuo at irixnet dot org>.
* When the content of a manual page does not specify a section, theIngo Schwarze2016-08-171-4/+3
| | | | | | | | 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 incrementalIngo Schwarze2016-08-171-3/+2
| | | | | | 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 pageIngo Schwarze2016-08-041-1/+1
| | | | | 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.Ingo Schwarze2016-07-191-0/+74
Stop supporting systems that don't have mmap(3). Drop the obsolete names_check() now that we deleted MLINKS.