source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: In parse_catpage(), the comment saying that the filename would
@ 2013-06-06  2:40 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2013-06-06  2:40 UTC (permalink / raw)
  To: source

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-06  2:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-06  2:40 mdocml: In parse_catpage(), the comment saying that the filename would schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).