[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Allocate \@inputcheck and \@unused early so that they are before expl3 allocates more streams. In the past this was done in ltfiles (gh/538). (28cd20c8)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Mar 26 13:48:04 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/28cd20c868169d968179d6af95a7a06075700a12

>---------------------------------------------------------------

commit 28cd20c868169d968179d6af95a7a06075700a12
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Mar 26 13:48:04 2021 +0100

            Allocate \@inputcheck and \@unused early
            so that they are before expl3 allocates more streams.
            In the past this was done in ltfiles  (gh/538).


>---------------------------------------------------------------

28cd20c868169d968179d6af95a7a06075700a12
 base/changes.txt |  7 +++++++
 base/ltfiles.dtx | 15 +--------------
 base/ltplain.dtx | 23 ++++++++++++++++++++++-
 3 files changed, 30 insertions(+), 15 deletions(-)

diff --git a/base/changes.txt b/base/changes.txt
index d5a4a9f6..3bac8d53 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -1,3 +1,10 @@
+2021-03-26  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* ltplain.dtx (section{Plain \TeX}):
+	Allocate \@inputcheck and \@unused early
+        so that they are before expl3 allocates more streams.
+	In the past this was done in ltfiles  (gh/538).
+
 ================================================================================
 This file lists changes to the LaTeX2e files in reverse chronological order of
 publication (therefore the dates might be out of sequence if there are hotfixes).
diff --git a/base/ltfiles.dtx b/base/ltfiles.dtx
index 8b0fd78b..d76e18ff 100644
--- a/base/ltfiles.dtx
+++ b/base/ltfiles.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltfiles.dtx}
-             [2021/03/12 v1.2k LaTeX Kernel (File Handling)]
+             [2021/03/26 v1.2l LaTeX Kernel (File Handling)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltfiles.dtx}
@@ -195,19 +195,6 @@
 % \end{oldcomments}
 %
 %
-% \task{???}{Do we use @unused or mainaux?}
-%  \begin{macro}{\@inputcheck}
-%  \begin{macro}{\@unused}
-%    Allocate read stream for testing and output stream.
-% \changes{v1.0l}{1994/11/07}
-%      {move here from ltdefns, remove duplicate \cs{@mainaux}}
-%    \begin{macrocode}
-\newread\@inputcheck
-\newwrite\@unused
-%    \end{macrocode}
-%  \end{macro}
-%  \end{macro}
-%
 % \begin{macro}{\@mainaux}
 % \begin{macro}{\@partaux}
 %    \begin{macrocode}
diff --git a/base/ltplain.dtx b/base/ltplain.dtx
index fa53cc17..54ac15f4 100644
--- a/base/ltplain.dtx
+++ b/base/ltplain.dtx
@@ -32,7 +32,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltplain.dtx}
-             [2020/11/26 v2.3d LaTeX Kernel (Plain TeX)]
+             [2021/03/26 v2.3e LaTeX Kernel (Plain TeX)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltplain.dtx}
@@ -823,6 +823,27 @@
 %    \end{macrocode}
 % \end{macro}
 %
+%
+%
+%  \begin{macro}{\@inputcheck}
+%  \begin{macro}{\@unused}
+%    Allocate read stream for testing and output stream that is never open an
+%    thus writes to the terminal.
+% \changes{v1.0l}{1994/11/07}
+%      {move here from ltdefns, remove duplicate \cs{@mainaux}}
+% \changes{v2.3e}{2021/03/26}{Allocate \cs{@inputcheck} and \cs{@unused} early
+%     so that they are before expl3 allocates more streams (gh/538))
+%    \begin{macrocode}
+\newread\@inputcheck
+\newwrite\@unused
+%    \end{macrocode}
+%  \end{macro}
+%  \end{macro}
+%
+%
+%
+%
+%
 % \begin{macro}{\maxdimen}
 % \begin{macro}{\hideskip}
 % Here are some examples of allocation.





More information about the latex3-commits mailing list.