tags 473733 +patch thanks
-- Jon Dowland
diff -ruN tracker-0.6.6~/filters/application/msword_filter tracker-0.6.6/filters/application/msword_filter --- tracker-0.6.6~/filters/application/msword_filter 2008-01-15 04:05:20.000000000 +0000 +++ tracker-0.6.6/filters/application/msword_filter 2008-04-01 10:54:34.000000000 +0100 @@ -1,15 +1,13 @@ #!/bin/sh tmpdir=${TMPDIR-/tmp} -tmpdir="$tmpdir"/tmpdir.$$ +tmpdir=$(mktemp -td tracker.msword_filter.XXXXXX) || exit 1 -(umask 077 && mkdir "$tmpdir") || exit 1 - -tmpfile="$tmpdir"/tmpfile.$$ +tmpfile="$tmpdir"/tmpfile cp "$1" "$tmpfile" -# Change the working directory to $tmpdir which we can safely deleter later. +# Change the working directory to $tmpdir which we can safely delete later. # Some distributions ship a version of wvText which extracts the image files # from the word document and places them in the current working directory.