source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Fixed a goddamn subtle error causing MDOC_LITERAL to remain set
@ 2010-12-01 13:05 kristaps
  2010-12-01 14:36 ` Kristaps Dzonsons
  0 siblings, 1 reply; 2+ messages in thread
From: kristaps @ 2010-12-01 13:05 UTC (permalink / raw)
  To: source

Log Message:
-----------
Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a 
call to `Dl' or `Bd -literal' or unfilled.

Modified Files:
--------------
    mdocml:
        mdoc_validate.c

Revision Data
-------------
Index: mdoc_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_validate.c,v
retrieving revision 1.133
retrieving revision 1.134
diff -Lmdoc_validate.c -Lmdoc_validate.c -u -p -r1.133 -r1.134
--- mdoc_validate.c
+++ mdoc_validate.c
@@ -1158,7 +1158,7 @@ post_literal(POST_ARGS)
 	 */
 
 	if (MDOC_BODY == mdoc->last->type)
-		mdoc->last->flags &= ~MDOC_LITERAL;
+		mdoc->flags &= ~MDOC_LITERAL;
 
 	return(1);
 }
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mdocml: Fixed a goddamn subtle error causing MDOC_LITERAL to remain set
  2010-12-01 13:05 mdocml: Fixed a goddamn subtle error causing MDOC_LITERAL to remain set kristaps
@ 2010-12-01 14:36 ` Kristaps Dzonsons
  0 siblings, 0 replies; 2+ messages in thread
From: Kristaps Dzonsons @ 2010-12-01 14:36 UTC (permalink / raw)
  To: source

> Log Message:
> -----------
> Fixed a goddamn subtle error causing MDOC_LITERAL to remain set after a
> call to `Dl' or `Bd -literal' or unfilled.

This error, by the way, noted by schwarze@ in that EOS was failing...
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-01 14:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-01 13:05 mdocml: Fixed a goddamn subtle error causing MDOC_LITERAL to remain set kristaps
2010-12-01 14:36 ` Kristaps Dzonsons

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