[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#138791: tetex-bin: xdvi wrapper does not decompress .Z files, contrary to xdvi(1)



Package: tetex-bin
Version: 1.0.7+20011202-5
Severity: normal
Tags: patch

Note: this is not a duplicate of #83578 and #113631.  The wrapper in
1.0.7+20011202-5 _does_ correctly decompress .gz and .bz2 files, but not .Z
files.  gzip can decompress these fine, so the fix is trivial:

--- /usr/bin/xdvi       Sun Mar  3 14:58:53 2002
+++ xdvi        Sun Mar 17 14:55:15 2002
@@ -55,7 +55,7 @@
 #filename=${1+"$#"}
 compress=0
 case "${filename}X" in
-  *.gzX)
+  *.gzX|*.ZX)
     tempfile=`tempfile -p tetex -s .dvi`
     gzip -d -c $filename > $tempfile
     compress=1


-- System Information
Debian Release: unstable
Architecture: i386
Kernel: Linux mizar 2.4.18 #1 Tue Mar 12 08:58:12 EST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages tetex-bin depends on:
ii  debianutils             1.16             Miscellaneous utilities specific t
ii  dpkg                    1.9.19           Package maintenance system for Deb
ii  ed                      0.2-19           The classic unix line editor
ii  libc6                   2.2.5-3          GNU C Library: Shared libraries an
ii  libkpathsea3            1.0.7+20011202-5 shared libkpathsea for teTeX
ii  libpng2                 1.0.12-3         PNG library - runtime
ii  libstdc++2.10-glibc2.2  1:2.95.4-4       The GNU stdc++ library
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  libxaw7                 4.1.0-14         X Athena widget set library
ii  tetex-base              1.0.2+20011202-2 basic teTeX library files
ii  xlibs                   4.1.0-14         X Window System client libraries
ii  zlib1g                  1:1.1.4-1        compression library - runtime

-- 
 - mdz



Reply to: