tags 635849 patch thanks On 2011-07-29 23:22:24 +0900, Osamu Aoki wrote: > Can any of you who seems to know bettwer on this subject propse good > solution while keeping major part of this feature. Other wise we get > bug report for breaking backward comparibility without good reason.
I think there is a very easy solution concerning this bug (there may be other bugs, though): do not use the -p tempfile option. AFAIK, this option is useless (it might be used to retrieve the temporary file more easily, but this isn't important). Proposed patch: --- /usr/bin/xpdf 2011-07-28 06:29:44.000000000 +0200 +++ xpdf 2011-07-29 16:36:38.000000000 +0200 @@ -78,7 +78,7 @@ elif [ "$cat" = "cat" ]; then $cmd -title "$title" "$file" $pages else - tmp=$(tempfile -p "$(basename "$file")" -s .pdf) + tmp=$(tempfile -s .pdf) $cat "$file" > "$tmp" trap "rm -f \"$tmp\"" EXIT HUP INT QUIT TERM $cmd -title "$title" "$tmp" $pages || true -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org