summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty18
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty b/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
index 1f35e819f9e..93802df25f7 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty
@@ -72,7 +72,7 @@
\g@addto@macro\ReFiCh@AtEnd{\endinput}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rerunfilecheck}%
- [2010/02/22 v1.4 Rerun checks for auxiliary files (HO)]
+ [2010/03/16 v1.6 Rerun checks for auxiliary files (HO)]
\RequirePackage{kvoptions}[2010/02/22]
\SetupKeyvalOptions{%
family=rerunfilecheck,%
@@ -275,18 +275,18 @@
\def\ReFiCh@RerunFileCheck#1{%
\expandafter\ReFiCh@@RerunFileCheck\csname ReFiCh@#1\endcsname
}
+\def\ReFiCh@Check#1#2#3{%
+ #1\edef#2{\ReFiCh@CheckSum{#3}}%
+ \ifx#2\ReFiCh@Separator
+ #1\let#2\ReFiCh@NoFile
+ \fi
+}
\def\ReFiCh@@RerunFileCheck#1#2#3#4{%
- \xdef#1{\ReFiCh@CheckSum{#2}}%
- \ifx#1\ReFiCh@Separator
- \global\let#1\ReFiCh@NoFile
- \fi
+ \ReFiCh@Check\global#1{#2}%
\AtVeryEndDocument{%
\begingroup
#3%
- \edef\x{\ReFiCh@CheckSum{#2}}%
- \ifx\x\ReFiCh@Separator
- \let\x\ReFiCh@NoFile
- \fi
+ \ReFiCh@Check{}\x{#2}%
\ifx#1\x
\@PackageInfoNoLine{rerunfilecheck}{%
File `#2' has not changed.\MessageBreak