| 1 |
diff -up texlive-2007/texk/tetex/fmtutil.infloop texlive-2007/texk/tetex/fmtutil
|
| 2 |
--- texlive-2007/texk/tetex/fmtutil.infloop 2008-03-12 10:51:14.000000000 +0100
|
| 3 |
+++ texlive-2007/texk/tetex/fmtutil 2008-03-12 16:53:05.000000000 +0100
|
| 4 |
@@ -680,6 +680,15 @@
|
| 5 |
esac
|
| 6 |
|
| 7 |
rm -f $fmtfile
|
| 8 |
+
|
| 9 |
+ # Check for infinite recursion before running the iniTeX:
|
| 10 |
+ case :$mktexfmt_loop: in
|
| 11 |
+ *:"$format":*)
|
| 12 |
+ abort "Infinite recursion detected, giving up!" ;;
|
| 13 |
+ esac
|
| 14 |
+ mktexfmt_loop=$mktexfmt_loop:$format
|
| 15 |
+ export mktexfmt_loop
|
| 16 |
+
|
| 17 |
verboseMsg "$progname: running \`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' ..."
|
| 18 |
|
| 19 |
# run in a subshell to get a local effect of TEXPOOL manipulation:
|