source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Fix segfault in mixing old enum types for -Thtml -mdoc.
@ 2010-05-24 12:17 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-05-24 12:17 UTC (permalink / raw)
  To: source

Log Message:
-----------
Fix segfault in mixing old enum types for -Thtml -mdoc.

Modified Files:
--------------
    mdocml:
        mdoc_html.c

Revision Data
-------------
Index: mdoc_html.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_html.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.66 -r1.67
--- mdoc_html.c
+++ mdoc_html.c
@@ -1080,7 +1080,7 @@ mdoc_bl_pre(MDOC_ARGS)
 		return(0);
 	if (MDOC_BLOCK != n->type)
 		return(1);
-	if (MDOC_Enum != n->data.list)
+	if (LIST_enum != n->data.list)
 		return(1);
 
 	ord = malloc(sizeof(struct ord));
@@ -1104,7 +1104,7 @@ mdoc_bl_post(MDOC_ARGS)
 
 	if (MDOC_BLOCK != n->type)
 		return;
-	if (MDOC_Enum != n->data.list)
+	if (LIST_enum != n->data.list)
 		return;
 
 	ord = h->ords.head;
--
 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:[~2010-05-24 12:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-24 12:17 mdocml: Fix segfault in mixing old enum types for -Thtml -mdoc kristaps

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).