SIGABRT when raising error in make_node (node.cpp:4981), when charinfo is 
TRANSLATE_HYPHEN_INDICATOR. Assert fails in errprint (errarg.cpp:121).

Character '%' should be doubled, otherwise it works as a formatting string.

Index: node.cpp
===================================================================
RCS file: /sources/groff/groff/src/roff/troff/node.cpp,v
retrieving revision 1.32
diff -u -r1.32 node.cpp
--- node.cpp    28 May 2010 15:26:56 -0000      1.32
+++ node.cpp    28 Jun 2010 16:59:04 -0000
@@ -4990,7 +4990,7 @@
   case charinfo::TRANSLATE_DUMMY:
     return new dummy_node;
   case charinfo::TRANSLATE_HYPHEN_INDICATOR:
-    error("translation to \\% ignored in this context");
+    error("translation to \\%% ignored in this context");
     break;
   }
   charinfo *tem = ci->get_translation();

-- 
Jan Včelák
Base Operating Systems Brno
Red Hat Inc.

_______________________________________________
bug-groff mailing list
bug-gr...@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to