From 4c8e38c971341b397721f565e4dae22d4bf19a48 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 6 Jun 2013 02:40:37 +0000 Subject: In parse_catpage(), the comment saying that the filename would be used as a default page description if no usable NAME section was found was preserved when moving from db to sqlite, but the code line actually doing that was removed without replacement. So, put it back. --- mandocdb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mandocdb.c b/mandocdb.c index 025c28ab..6a6857ea 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1101,6 +1101,7 @@ parse_catpage(struct of *of) if (NULL == title || '\0' == *title) { if (warnings) say(of->file, "Cannot find NAME section"); + putkey(of, of->name, TYPE_Nd); fclose(stream); free(title); return; -- cgit