From 956777a901ad57251d9ebe5bd44ca080923e9f28 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mandocdb.c') diff --git a/mandocdb.c b/mandocdb.c index 39f92539..ead0749a 100644 --- a/mandocdb.c +++ b/mandocdb.c @@ -1,4 +1,4 @@ -/* $Id: mandocdb.c,v 1.61 2013/06/05 21:21:08 schwarze Exp $ */ +/* $Id: mandocdb.c,v 1.62 2013/06/06 02:40:37 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013 Ingo Schwarze @@ -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 v1.2.3