texlive[55422] Build/source/texk/web2c: [CWEB] Fix newline blunder in
commits+ascherer at tug.org
commits+ascherer at tug.org
Fri Jun 5 23:03:29 CEST 2020
Revision: 55422
http://tug.org/svn/texlive?view=revision&revision=55422
Author: ascherer
Date: 2020-06-05 23:03:29 +0200 (Fri, 05 Jun 2020)
Log Message:
-----------
[CWEB] Fix newline blunder in case of error.
A post on the tex-k list (see
https://tug.org/pipermail/tex-k/2020-Jun/003198.html) revealed a bug in
the 'common' code: Trying to avoid an empty line in a normal run with
option '-p' ("show no progress messages") suppressed a necessary newline
in an faulty run.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/ChangeLog
trunk/Build/source/texk/web2c/cwebboot.cin
trunk/Build/source/texk/web2c/cwebdir/ChangeLog
trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
Modified: trunk/Build/source/texk/web2c/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/ChangeLog 2020-06-05 09:54:45 UTC (rev 55421)
+++ trunk/Build/source/texk/web2c/ChangeLog 2020-06-05 21:03:29 UTC (rev 55422)
@@ -1,3 +1,7 @@
+2020-06-05 Andreas Scherer <https://ascherer.github.io>
+
+ * cwebboot.cin: Fix newline blunder in case of error.
+
2020-06-04 Andreas Scherer <https://ascherer.github.io>
* bibtex.ch: Purge 'active E' chunk completely.
Modified: trunk/Build/source/texk/web2c/cwebboot.cin
===================================================================
--- trunk/Build/source/texk/web2c/cwebboot.cin 2020-06-05 09:54:45 UTC (rev 55421)
+++ trunk/Build/source/texk/web2c/cwebboot.cin 2020-06-05 21:03:29 UTC (rev 55422)
@@ -1310,7 +1310,7 @@
#line 804 "cwebdir/comm-w2c.ch"
int wrap_up(void){
-if(show_progress)new_line;
+if(show_progress||show_happiness||(history> spotless))new_line;
#line 1153 "cwebdir/common.w"
if(show_stats)
print_stats();
Modified: trunk/Build/source/texk/web2c/cwebdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2020-06-05 09:54:45 UTC (rev 55421)
+++ trunk/Build/source/texk/web2c/cwebdir/ChangeLog 2020-06-05 21:03:29 UTC (rev 55422)
@@ -1,3 +1,7 @@
+2020-06-05 Andreas Scherer <https://ascherer.github.io>
+
+ * comm-w2c.ch: Fix newline blunder in case of error.
+
2020-06-01 Andreas Scherer <https://ascherer.github.io>
* texinputs/pdfwebtocfront.tex: Adapt to 'pwebmac.tex 4.5.2.
Modified: trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch
===================================================================
--- trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch 2020-06-05 09:54:45 UTC (rev 55421)
+++ trunk/Build/source/texk/web2c/cwebdir/comm-w2c.ch 2020-06-05 21:03:29 UTC (rev 55422)
@@ -802,7 +802,7 @@
putchar('\n');
@y
int wrap_up(void) {
- if (show_progress) new_line;
+ if (show_progress || show_happiness || (history > spotless)) new_line;
@z
@x
More information about the tex-live-commits
mailing list.