diff options
author | ru <ru@FreeBSD.org> | 2001-06-19 06:43:49 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-06-19 06:43:49 +0000 |
commit | 9ea23f4150d8e9a0b84050876c26239addf73c8c (patch) | |
tree | 644e802196d4340b830d922b74bf5b09c9687e0e /contrib/groff | |
parent | 3b5355d725800022c2c055a699326722a43b9dc2 (diff) | |
download | FreeBSD-src-9ea23f4150d8e9a0b84050876c26239addf73c8c.zip FreeBSD-src-9ea23f4150d8e9a0b84050876c26239addf73c8c.tar.gz |
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
Diffstat (limited to 'contrib/groff')
-rw-r--r-- | contrib/groff/src/roff/troff/node.h | 4 |
1 files changed, 2 insertions, 2 deletions
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) { } |