Skip to content

Commit

Permalink
ensure that chars in the range 128-255 aren't active during fileconte…
Browse files Browse the repository at this point in the history
…nts writing
  • Loading branch information
FrankMittelbach committed Mar 27, 2018
1 parent 99656c6 commit 4a94a1d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions base/changes.txt
Expand Up @@ -8,6 +8,11 @@ are not part of the distribution.
# 2018-04-01 Release
#########################

2018-03-27 Frank Mittelbach <Frank.Mittelbach@latex-project.org>

* ltclass.dtx (subsection{Providing shipment}): ensure that
chars in the range of 128-255 are not active during filecontents
writing.

2018-03-24 David Carlisle <latex-bugs@latex-project.org>

Expand Down
17 changes: 15 additions & 2 deletions base/ltclass.dtx
Expand Up @@ -33,7 +33,7 @@
%<*driver>
% \fi
\ProvidesFile{ltclass.dtx}
[2018/03/24 v1.2e LaTeX Kernel (Class & Package Interface)]
[2018/03/27 v1.2f LaTeX Kernel (Class & Package Interface)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltclass.dtx}
Expand Down Expand Up @@ -627,7 +627,7 @@
% \changes{v1.2d}{2018/02/18}
% {Added 0 up front to make bad data come out as 0.}
% \begin{macrocode}
%<latexrelease>\IncludeInRelease{2018/03/01}%
%<latexrelease>\IncludeInRelease{2018/04/01}%
%<latexrelease> {\@ifl@t@r}{Guard against bad input}%
%<*2ekernel|latexrelease>
\def\@ifl@t@r#1#2{%
Expand Down Expand Up @@ -1757,6 +1757,19 @@
\fi%
\let\do\@makeother\dospecials%
% \end{macrocode}
% If there are active characters in the upper half (e.g., from
% \texttt{inputenc} there would be confusion so we render everything
% harmless.
% \changes{v1.2f}{2018/03/27}
% {Use full file name for old release}
% \begin{macrocode}
\count@ 128\relax%
\loop%
\catcode\count@ 11\relax%
\advance\count@ \@one%
\ifnum\count@<\@cclvi%
\repeat%
% \end{macrocode}
%
% \changes{v1.0y}{1997/10/10}
% {Check for text before or after \cs{end} environment. latex/2636}
Expand Down

0 comments on commit 4a94a1d

Please sign in to comment.