From 9ea23f4150d8e9a0b84050876c26239addf73c8c Mon Sep 17 00:00:00 2001 From: ru Date: Tue, 19 Jun 2001 06:43:49 +0000 Subject: Bring in FSF revision 1.17: * src/roff/troff/node.h (node::node): Initialize `last'. This fixes coredump on \b'\(sq' sequence. Urged by: eivind --- contrib/groff/src/roff/troff/node.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/groff/src/roff/troff/node.h b/contrib/groff/src/roff/troff/node.h index 3e5f615..1dc0718 100644 --- a/contrib/groff/src/roff/troff/node.h +++ b/contrib/groff/src/roff/troff/node.h @@ -106,11 +106,11 @@ struct node { virtual const char *type() = 0; }; -inline node::node() : next(0) +inline node::node() : next(0), last(0) { } -inline node::node(node *n) : next(n) +inline node::node(node *n) : next(n), last(0) { } -- cgit v1.1