Bug#221793: tetex-bin: xdvi fails on compressed files in read-only directory
On 20.11.03 Chung-chieh Shan (ken@digitas.harvard.edu) wrote:
Hello,
> The recent update to xdvi makes it impossible to use xdvi to view a
> compressed dvi file in a read-only directory, such as LaTeX package
> documentation.
>
Well -- don't assume that I'm able to speak perl, but the following
works for me[TM]. Apply it to the xdvi perl script.
H.
--
sigmentation fault
--- xdvi-pl Wed Oct 29 01:41:02 2003
+++ xdvi-pl.new Thu Nov 20 08:36:09 2003
@@ -66,6 +66,7 @@
require Fcntl;
my $fh = tempfile( "tetexXXXXXX",
+ DIR => "/tmp",
SUFFIX => ".dvi",
UNLINK => 1 )
or die "xdvi: cannot create temporary file: $!\n";
Reply to: