* mandoc: The tag file always needs to be closed before starting the
@ 2020-03-19 12:22 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-03-19 12:22 UTC (permalink / raw)
To: source
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 <Andreas dot Kahari at abc dot se> 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-03-19 12:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-19 12:22 mandoc: The tag file always needs to be closed before starting the schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).