summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/oberdiek/catchfile.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/catchfile.dtx18
1 files changed, 11 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx b/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx
index 226a9ffbafa..5067d0ae62f 100644
--- a/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/catchfile.dtx
@@ -79,7 +79,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: catchfile 2010/03/01 v1.3 Catches the contents of a file (HO)}
+\Msg{* Package: catchfile 2010/04/08 v1.4 Catches the contents of a file (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -158,7 +158,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{catchfile.drv}%
- [2010/03/01 v1.3 Catches the contents of a file (HO)]%
+ [2010/04/08 v1.4 Catches the contents of a file (HO)]%
\documentclass{ltxdoc}
\usepackage{holtxdoc}[2008/08/11]
\begin{document}
@@ -167,7 +167,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{589}
+% \CheckSum{591}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -188,7 +188,7 @@ and the derived files
% \GetFileInfo{catchfile.drv}
%
% \title{The \xpackage{catchfile} package}
-% \date{2010/03/01 v1.3}
+% \date{2010/04/08 v1.4}
% \author{Heiko Oberdiek\\\xemail{heiko.oberdiek at googlemail.com}}
%
% \maketitle
@@ -291,7 +291,7 @@ and the derived files
\fi
\expandafter\x\csname ver@catchfile.sty\endcsname
\ProvidesPackage{catchfile}%
- [2010/03/01 v1.3 Catches the contents of a file (HO)]
+ [2010/04/08 v1.4 Catches the contents of a file (HO)]
% \end{macrocode}
%
% \subsection{Catcodes}
@@ -412,10 +412,10 @@ and the derived files
\csname newread\endcsname\@inputcheck
\fi
\openin\@inputcheck#1\relax
+ \expandafter\closein\expandafter\@inputcheck
\ifeof\@inputcheck
\let\CatchFile@File\relax
\else
- \closein\@inputcheck
\def\CatchFile@File{#1}%
\fi
}%
@@ -624,7 +624,7 @@ and the derived files
\nofiles
\listfiles
\documentclass{minimal}
-\usepackage{catchfile}[2010/03/01]
+\usepackage{catchfile}[2010/04/08]
\makeatletter
\def\mysetup{%
\let\do\@makeother
@@ -877,6 +877,10 @@ and the derived files
% \item
% Fix for unknown \cs{@PackageErrorNoLine}.
% \end{Version}
+% \begin{Version}{2010/04/08 v1.4}
+% \item
+% \cs{closein} also added if \cs{ifeof} is true.
+% \end{Version}
% \end{History}
%
% \PrintIndex