texlive[55770] Build/source/texk/web2c/alephdir: sync with tex.ch

commits+kakuto at tug.org commits+kakuto at tug.org
Tue Jul 7 02:26:05 CEST 2020


Revision: 55770
          http://tug.org/svn/texlive?view=revision&revision=55770
Author:   kakuto
Date:     2020-07-07 02:26:05 +0200 (Tue, 07 Jul 2020)
Log Message:
-----------
sync with tex.ch

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/alephdir/ChangeLog
    trunk/Build/source/texk/web2c/alephdir/com16bit.ch

Modified: trunk/Build/source/texk/web2c/alephdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/alephdir/ChangeLog	2020-07-06 23:53:27 UTC (rev 55769)
+++ trunk/Build/source/texk/web2c/alephdir/ChangeLog	2020-07-07 00:26:05 UTC (rev 55770)
@@ -1,3 +1,8 @@
+2020-07-07  Akira Kakuto  <kakuto at w32tex.org>
+
+	* com16bit.ch: Sync with tex.ch (avoid seg fault in unusual
+	interaction sequence).
+
 2020-02-10  Akira Kakuto  <kakuto at w32tex.org>
 
 	* com16bit.ch: Sync with tex.ch for changes by Phelype Oleinik

Modified: trunk/Build/source/texk/web2c/alephdir/com16bit.ch
===================================================================
--- trunk/Build/source/texk/web2c/alephdir/com16bit.ch	2020-07-06 23:53:27 UTC (rev 55769)
+++ trunk/Build/source/texk/web2c/alephdir/com16bit.ch	2020-07-07 00:26:05 UTC (rev 55770)
@@ -729,7 +729,26 @@
 end;
 @z
 
- at x [6.84] l.1888 - Implement the switch-to-editor option.
+% Original reports:
+%   https://tex.stackexchange.com/questions/551313/
+%   https://tug.org/pipermail/tex-live/2020-June/045876.html
+%
+% This will probably be fixed by DEK in the 2021 tuneup in a different
+% way (so we'll have to remove or alter this change), but the interaction
+% sequence in the reports above causes a segmentation fault in web2c -
+% writing to the closed \write15 stream because we wrongly decrement
+% selector from 16 to 15 in term_input, due to the lack of this check in
+% a recursive error() call.
+%
+ at x [6.83] l.1893 - avoid wrong interaction 
+loop at +begin continue: clear_for_error_prompt; prompt_input("? ");
+ at y
+loop at +begin continue:
+if interaction<>error_stop_mode then return;
+clear_for_error_prompt; prompt_input("? ");
+ at z
+
+ at x [6.84] l.1904 - Implement the switch-to-editor option.
 line ready to be edited. But such an extension requires some system
 wizardry, so the present implementation simply types out the name of the
 file that should be



More information about the tex-live-commits mailing list.