From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 6dddb47f for ; Tue, 13 Nov 2018 04:08:28 -0500 (EST) Date: Tue, 13 Nov 2018 04:08:28 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: texi2mdoc: Add missing p->ign guard for paragraph breaks in parseword(); X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-Id: <381d0f87ac60a982@fantadrom.bsd.lv> Log Message: ----------- Add missing p->ign guard for paragraph breaks in parseword(); bug reported by Michael Forney . Modified Files: -------------- texi2mdoc: util.c Revision Data ------------- Index: util.c =================================================================== RCS file: /home/cvs/mdocml/texi2mdoc/util.c,v retrieving revision 1.35 retrieving revision 1.36 diff -Lutil.c -Lutil.c -u -p -r1.35 -r1.36 --- util.c +++ util.c @@ -728,7 +728,8 @@ parseword(struct texi *p, size_t *pos, c if (p->seenvs > 0 && 0 == p->literal && TEXILIST_TABLE != p->list) { if (p->outcol > 0) fputc('\n', p->outfile); - fputs(".Pp\n", p->outfile); + if (p->ign == 0) + fputs(".Pp\n", p->outfile); p->outcol = 0; } -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv