mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
makewhatis: avoid skipping another page after one with no mlinks
Submitted by: Ingo Schwarze MFC after: 3 weeks MFC with: r307003
This commit is contained in:
parent
add6f7d069
commit
4c5fff6d49
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=307564
@ -1146,10 +1146,8 @@ mpages_merge(struct mparse *mp)
|
||||
|
||||
for (mpage = mpage_head; mpage != NULL; mpage = mpage->next) {
|
||||
mlinks_undupe(mpage);
|
||||
if ((mlink = mpage->mlinks) == NULL) {
|
||||
mpage = mpage->next;
|
||||
if ((mlink = mpage->mlinks) == NULL)
|
||||
continue;
|
||||
}
|
||||
|
||||
name_mask = NAME_MASK;
|
||||
mandoc_ohash_init(&names, 4, offsetof(struct str, key));
|
||||
|
Loading…
Reference in New Issue
Block a user