diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-17 20:46:56 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2016-08-17 20:46:56 +0000 |
commit | 82084a7d25acdbc823a8a52ae0e4b9fb266553f0 (patch) | |
tree | f449f366e7398e16fef98c86e353a1b16dec9b67 /dba.h | |
parent | eccbe40515e1ca229e250d389f02e0395c281098 (diff) | |
download | mandoc-82084a7d25acdbc823a8a52ae0e4b9fb266553f0.tar.gz |
When the content of a manual page does not specify a section, the
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.
Diffstat (limited to 'dba.h')
-rw-r--r-- | dba.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -40,8 +40,7 @@ struct dba *dba_read(const char *); int dba_write(const char *, struct dba *); struct dba_array *dba_page_new(struct dba_array *, const char *, - const char *, const char *, const char *, - const char *, enum form); + const char *, const char *, enum form); void dba_page_add(struct dba_array *, int32_t, const char *); void dba_page_alias(struct dba_array *, const char *, uint64_t); |