From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.2 Received: (qmail 32251 invoked from network); 19 Mar 2020 12:22:12 -0000 Received: from unknown (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTP; 19 Mar 2020 12:22:12 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id f3f283e8 for ; Thu, 19 Mar 2020 07:22:07 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 64a46ef5 for ; Thu, 19 Mar 2020 07:22:07 -0500 (EST) Date: Thu, 19 Mar 2020 07:22:07 -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: mandoc: The tag file always needs to be closed before starting the X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <11ff16ad25f356ba@mandoc.bsd.lv> Log Message: ----------- The tag file always needs to be closed before starting the pager, even when no output formatter was allocated because all pages shown were preformatted. Regression in previous reported by on bugs@. Modified Files: -------------- mandoc: main.c Revision Data ------------- Index: main.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/main.c,v retrieving revision 1.345 retrieving revision 1.346 diff -Lmain.c -Lmain.c -u -p -r1.345 -r1.346 --- main.c +++ main.c @@ -609,6 +609,8 @@ main(int argc, char *argv[]) (void)fchdir(startdir); close(startdir); } + if (outst.outtype <= OUTT_UTF8) + term_tag_finish(); if (outst.outdata != NULL) { switch (outst.outtype) { case OUTT_HTML: @@ -617,7 +619,6 @@ main(int argc, char *argv[]) case OUTT_UTF8: case OUTT_LOCALE: case OUTT_ASCII: - term_tag_finish(); ascii_free(outst.outdata); break; case OUTT_PDF: -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv