From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from krisdoz.my.domain (schwarze@localhost [127.0.0.1]) by krisdoz.my.domain (8.14.3/8.14.3) with ESMTP id p0GKCjlZ003209 for ; Sun, 16 Jan 2011 15:12:46 -0500 (EST) Received: (from schwarze@localhost) by krisdoz.my.domain (8.14.3/8.14.3/Submit) id p0GKCjE5020116; Sun, 16 Jan 2011 15:12:45 -0500 (EST) Date: Sun, 16 Jan 2011 15:12:45 -0500 (EST) Message-Id: <201101162012.p0GKCjE5020116@krisdoz.my.domain> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: When processing a blank text line, do not break out of text X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Log Message: ----------- When processing a blank text line, do not break out of text processing into macro processing code. Fixing a regression introduced in 1.95, found because it caused segfaults in my regression suite. OK kristaps@ Modified Files: -------------- mdocml: man_term.c Revision Data ------------- Index: man_term.c =================================================================== RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_term.c,v retrieving revision 1.97 retrieving revision 1.98 diff -Lman_term.c -Lman_term.c -u -p -r1.97 -r1.98 --- man_term.c +++ man_term.c @@ -1,6 +1,6 @@ /* $Id$ */ /* - * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons + * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any @@ -864,7 +864,7 @@ print_man_node(DECL_ARGS) */ if ('\0' == *n->string) { term_vspace(p); - break; + return; } else if (' ' == *n->string && MAN_LINE & n->flags) term_newln(p); -- To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv