rpms/texlive/devel texlive-fmtutil-infloop.patch,NONE,1.1

Jindrich Novy (jnovy) fedora-extras-commits at redhat.com
Wed Mar 12 17:10:04 UTC 2008


Author: jnovy

Update of /cvs/extras/rpms/texlive/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31745

Added Files:
	texlive-fmtutil-infloop.patch 
Log Message:
add fmtutil patch


texlive-fmtutil-infloop.patch:

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




More information about the fedora-extras-commits mailing list