bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SIGABRT when raising error in make_node


From: Jan Vcelak
Subject: SIGABRT when raising error in make_node
Date: Mon, 28 Jun 2010 19:17:57 +0200
User-agent: KMail/1.13.3 (Linux/2.6.33.5-124.fc13.x86_64; KDE/4.4.4; x86_64; ; )

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]