From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.5/8.14.5) with ESMTP id r562ecUb009417 for ; Wed, 5 Jun 2013 22:40:38 -0400 (EDT) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.5/8.14.3/Submit) id r562ebMg001778; Wed, 5 Jun 2013 22:40:37 -0400 (EDT) Date: Wed, 5 Jun 2013 22:40:37 -0400 (EDT) Message-Id: <201306060240.r562ebMg001778@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: In parse_catpage(), the comment saying that the filename would X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- 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. Modified Files: -------------- mdocml: mandocdb.c Revision Data ------------- Index: mandocdb.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandocdb.c,v retrieving revision 1.61 retrieving revision 1.62 diff -Lmandocdb.c -Lmandocdb.c -u -p -r1.61 -r1.62 --- mandocdb.c +++ 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; -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv