Bug#224863: xdvi: wrapper script creates temporary file in wrong directory
merge 224863 221793
tags 221793 + pending
thanks
On Mon, Dec 22, 2003 at 09:38:16PM -0500, Dylan Thurston wrote:
> Package: tetex-bin
> Version: 2.0.2-5.1
> Severity: normal
> Tags: patch
>
> The wrapper in /usr/bin/xdvi helpfully uncompresses gzip'ed files, but
> it does it in the current directory, rather than in /tmp as all sane
> programs should do. I think this is a misfeature of perl in
> File::Temp::tempfile: if you give it an explicit template, it tries to
> put the temporary file in the current directory. You could pass a DIR
> argument, but it's probably better to drop all the arguments, since
> they're unnecessary.
Thanks for this; the patch was applied to the CVS tree about a month
ago but is awaiting an upload.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, website: http://www.polya.uklinux.net/
Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
Visit http://www.thehungersite.com/ to help feed the hungry
Reply to: