diff options
Diffstat (limited to 'Master')
17 files changed, 14 insertions, 6 deletions
diff --git a/Master/bin/x86_64-cygwin/dvidvi.exe b/Master/bin/x86_64-cygwin/dvidvi.exe Binary files differindex ed1a9328715..a9dd41c0ad6 100755 --- a/Master/bin/x86_64-cygwin/dvidvi.exe +++ b/Master/bin/x86_64-cygwin/dvidvi.exe diff --git a/Master/bin/x86_64-cygwin/dvihp b/Master/bin/x86_64-cygwin/dvihp index fdaf3fb87bf..03a2dbe9605 100755 --- a/Master/bin/x86_64-cygwin/dvihp +++ b/Master/bin/x86_64-cygwin/dvihp @@ -6,14 +6,11 @@ : ${DVILJ=dvilj4} # the dvilj variant to run : ${SPOOL=lpr} # used to print an LJ file -: ${TMPDIR=${TEMP-${TMP-/tmp}}} # for the dvicopy output -tmpdir="${TMPDIR}"/dvihp$$ -(umask 077; mkdir "$tmpdir") \ +tmpdir=`mktemp -d` \ || { echo "cannot create directory \`$tmpdir'."; exit 1; } trap ' - cd "${TMPDIR}" test -d "$tmpdir" && { rm -f "$tmpdir"/*; rmdir "$tmpdir"; } exit 0 ' 0 1 2 3 6 7 13 15 diff --git a/Master/bin/x86_64-cygwin/eptex.exe b/Master/bin/x86_64-cygwin/eptex.exe Binary files differindex 42e11996eba..ed066373937 100755 --- a/Master/bin/x86_64-cygwin/eptex.exe +++ b/Master/bin/x86_64-cygwin/eptex.exe diff --git a/Master/bin/x86_64-cygwin/euptex.exe b/Master/bin/x86_64-cygwin/euptex.exe Binary files differindex d8c21c66ac7..b30e26bed18 100755 --- a/Master/bin/x86_64-cygwin/euptex.exe +++ b/Master/bin/x86_64-cygwin/euptex.exe diff --git a/Master/bin/x86_64-cygwin/mktexlsr b/Master/bin/x86_64-cygwin/mktexlsr index 3161a5317ec..5fde39e2c2d 100755 --- a/Master/bin/x86_64-cygwin/mktexlsr +++ b/Master/bin/x86_64-cygwin/mktexlsr @@ -10,7 +10,7 @@ # Originally written as `texhash' by Thomas Esser, Okt., 1994. # Public domain. -version='$Id: mktexlsr 36855 2015-04-14 12:15:08Z preining $' +version='$Id: mktexlsr 46343 2018-01-17 00:55:32Z preining $' progname=`echo $0 | sed 's%.*/%%'` usage="Usage: $progname [OPTION]... [DIR]... @@ -73,7 +73,18 @@ if tty -s; then verbose=true; else verbose=false; fi dry_run=false trees= -treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.tmp" +# initialize treefile by either mktemp or some random name +# code taken from pdfjam and adjusted +{ + treefile=` + (umask 077 && mktemp "${TMPDIR-/tmp}/mktexlsrtrees.XXXXXXXXXX") 2>/dev/null + ` && test -n "$treefile" && test -f "$treefile" +} || { + ## We'll use awk to make random number, for portability + random=`awk 'END { srand(); printf ("%d\n", rand()*1000000); }' /dev/null` + treefile="${TMPDIR-/tmp}/mktexlsrtrees$$.$random" +} || exit $? + trap 'cd /; rm -f $treefile; test -z "$db_dir_tmp" || rm -rf "$db_dir_tmp"; exit' 0 1 2 3 7 13 15 diff --git a/Master/bin/x86_64-cygwin/pbibtex.exe b/Master/bin/x86_64-cygwin/pbibtex.exe Binary files differindex 8fd4b3a3ddf..a0429760327 100755 --- a/Master/bin/x86_64-cygwin/pbibtex.exe +++ b/Master/bin/x86_64-cygwin/pbibtex.exe diff --git a/Master/bin/x86_64-cygwin/pdvitype.exe b/Master/bin/x86_64-cygwin/pdvitype.exe Binary files differindex af07cc78b06..c09d74813f4 100755 --- a/Master/bin/x86_64-cygwin/pdvitype.exe +++ b/Master/bin/x86_64-cygwin/pdvitype.exe diff --git a/Master/bin/x86_64-cygwin/ppltotf.exe b/Master/bin/x86_64-cygwin/ppltotf.exe Binary files differindex 7f011102c21..ba1603eace6 100755 --- a/Master/bin/x86_64-cygwin/ppltotf.exe +++ b/Master/bin/x86_64-cygwin/ppltotf.exe diff --git a/Master/bin/x86_64-cygwin/prepmx.exe b/Master/bin/x86_64-cygwin/prepmx.exe Binary files differindex 5bf4b3e5aa5..4f71deee722 100755 --- a/Master/bin/x86_64-cygwin/prepmx.exe +++ b/Master/bin/x86_64-cygwin/prepmx.exe diff --git a/Master/bin/x86_64-cygwin/ptex.exe b/Master/bin/x86_64-cygwin/ptex.exe Binary files differindex 5b0e7a4134e..655545a96f7 100755 --- a/Master/bin/x86_64-cygwin/ptex.exe +++ b/Master/bin/x86_64-cygwin/ptex.exe diff --git a/Master/bin/x86_64-cygwin/ptftopl.exe b/Master/bin/x86_64-cygwin/ptftopl.exe Binary files differindex fd3e407c91e..4a6f2991e2c 100755 --- a/Master/bin/x86_64-cygwin/ptftopl.exe +++ b/Master/bin/x86_64-cygwin/ptftopl.exe diff --git a/Master/bin/x86_64-cygwin/upbibtex.exe b/Master/bin/x86_64-cygwin/upbibtex.exe Binary files differindex 33f0e7b8cca..543325356c4 100755 --- a/Master/bin/x86_64-cygwin/upbibtex.exe +++ b/Master/bin/x86_64-cygwin/upbibtex.exe diff --git a/Master/bin/x86_64-cygwin/updvitype.exe b/Master/bin/x86_64-cygwin/updvitype.exe Binary files differindex b3ee7a9366b..ed6855b7326 100755 --- a/Master/bin/x86_64-cygwin/updvitype.exe +++ b/Master/bin/x86_64-cygwin/updvitype.exe diff --git a/Master/bin/x86_64-cygwin/uppltotf.exe b/Master/bin/x86_64-cygwin/uppltotf.exe Binary files differindex 6c31990e2a0..6601be7396b 100755 --- a/Master/bin/x86_64-cygwin/uppltotf.exe +++ b/Master/bin/x86_64-cygwin/uppltotf.exe diff --git a/Master/bin/x86_64-cygwin/uptex.exe b/Master/bin/x86_64-cygwin/uptex.exe Binary files differindex 77021ee96d5..181d0bb55b8 100755 --- a/Master/bin/x86_64-cygwin/uptex.exe +++ b/Master/bin/x86_64-cygwin/uptex.exe diff --git a/Master/bin/x86_64-cygwin/uptftopl.exe b/Master/bin/x86_64-cygwin/uptftopl.exe Binary files differindex 391eb695095..8497ee939a8 100755 --- a/Master/bin/x86_64-cygwin/uptftopl.exe +++ b/Master/bin/x86_64-cygwin/uptftopl.exe diff --git a/Master/bin/x86_64-cygwin/xdvipdfmx.exe b/Master/bin/x86_64-cygwin/xdvipdfmx.exe Binary files differindex e14ed248023..b26483323fe 100755 --- a/Master/bin/x86_64-cygwin/xdvipdfmx.exe +++ b/Master/bin/x86_64-cygwin/xdvipdfmx.exe |