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

Bug#95662: marked as done (xdvi: can't handle spaces in file names)



Your message dated Sat, 13 Apr 2002 18:17:14 -0400
with message-id <E16wVpa-0000tW-00@auric.debian.org>
and subject line Bug#95662: fixed in tetex-bin 1.0.7+20011202-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 28 Apr 2001 19:40:12 +0000
>From srittau@jroger.in-berlin.de Sat Apr 28 14:40:12 2001
Return-path: <srittau@jroger.in-berlin.de>
Received: from gnu.in-berlin.de [192.109.42.4] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14taZf-0001H5-00; Sat, 28 Apr 2001 14:40:11 -0500
Received: from hirsch.in-berlin.de (root@hirsch.colt.in-berlin.de [213.61.118.6])
	by gnu.in-berlin.de (8.10.1/8.10.1) with ESMTP id f3SJe2C25808
	for <submit@bugs.debian.org>; Sat, 28 Apr 2001 21:40:03 +0200 (CEST)
	(envelope-from srittau@jroger.in-berlin.de)
Received: (from uucp@localhost)
	by hirsch.in-berlin.de (8.11.1/8.11.1/Debian 8.11.0-6) with UUCP id f3SJe1N19365
	for submit@bugs.debian.org; Sat, 28 Apr 2001 21:40:01 +0200
X-Envelope-From: srittau@jroger.in-berlin.de
X-Envelope-To: submit@bugs.debian.org
Received: from srittau by jroger.in-berlin.de with local (Exim 3.22 #1 (Debian))
	id 14ta2R-0000dh-00; Sat, 28 Apr 2001 21:05:51 +0200
Date: Sat, 28 Apr 2001 21:05:50 +0200
From: Sebastian Rittau <srittau@jroger.in-berlin.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xdvi: can't handle spaces in file names
Message-ID: <20010428210550.A2322@jroger.in-berlin.de>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga"
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
X-Reportbug-Version: 1.15
Delivered-To: submit@bugs.debian.org


--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Package: tetex-bin
Version: 1.0.7+20001218-3
Severity: normal
Tags: patch

xdvi doesn't accept spaces in file names:

rittau@jroger:~$ xdvi foo\ bar.dvi 
Usage: xdvi [+[<page>]] [-s <shrink>] [-S <density>] [-nogrey] [-gamma <g>]
	[-install] [-noinstall] [-grid1 <color>] [-grid2 <color>]
[...]
srittau@jroger:~$ 

I've appended a patch to the /usr/bin/xdvi wrapper that fixes this.

 - Sebastian

--opJtzjQTFsWo+cga
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="xdvi.diff"

--- /usr/bin/xdvi	Thu Apr 12 15:45:52 2001
+++ xdvi	Sat Apr 28 21:00:49 2001
@@ -57,19 +57,19 @@
 case "${filename}X" in
   *.gzX)
     tempfile=`tempfile -p tetex -s .dvi`
-    gzip -d -c $filename > $tempfile
+    gzip -d -c "$filename" > $tempfile
     compress=1
     ;;
   *.bz2X)
     tempfile=`tempfile -p tetex -s .dvi`
-    bzip2 -d -c $filename > $tempfile
+    bzip2 -d -c "$filename" > $tempfile
     compress=1
     ;;
 esac
 if test $compress = 1; then
     trap "rm -f $tempfile" 0 1 2 15
-    filename=$tempfile
+    filename="$tempfile"
 fi
 
-xdvi.bin $NAMEOPT $args $filename || exit 1
+xdvi.bin $NAMEOPT $args "$filename" || exit 1
 exit 0

--opJtzjQTFsWo+cga--


---------------------------------------
Received: (at 95662-close) by bugs.debian.org; 13 Apr 2002 22:22:11 +0000
>From katie@auric.debian.org Sat Apr 13 17:22:11 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16wVuN-00076O-00; Sat, 13 Apr 2002 17:22:11 -0500
Received: from katie by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 16wVpa-0000tW-00; Sat, 13 Apr 2002 18:17:14 -0400
From: Atsuhito KOHDA <kohda@debian.org>
To: 95662-close@bugs.debian.org
X-Katie: $Revision: 1.10 $
Subject: Bug#95662: fixed in tetex-bin 1.0.7+20011202-6
Message-Id: <E16wVpa-0000tW-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Sat, 13 Apr 2002 18:17:14 -0400
Delivered-To: 95662-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
tetex-bin, which is due to be installed in the Debian FTP archive:

libkpathsea-dev_1.0.7+20011202-6_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_1.0.7+20011202-6_i386.deb
libkpathsea3_1.0.7+20011202-6_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_1.0.7+20011202-6_i386.deb
tetex-bin_1.0.7+20011202-6.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20011202-6.diff.gz
tetex-bin_1.0.7+20011202-6.dsc
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20011202-6.dsc
tetex-bin_1.0.7+20011202-6_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20011202-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 95662@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Atsuhito KOHDA <kohda@debian.org> (supplier of updated tetex-bin package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 13 Apr 2002 19:25:51 +0900
Source: tetex-bin
Binary: tetex-bin libkpathsea-dev libkpathsea3
Architecture: source i386
Version: 1.0.7+20011202-6
Distribution: unstable
Urgency: medium
Maintainer: teTeX maintainers <debian-tetex-maint@lists.debian.org>
Changed-By: Atsuhito KOHDA <kohda@debian.org>
Description: 
 libkpathsea-dev - kpathsea.a and include files for teTeX
 libkpathsea3 - shared libkpathsea for teTeX
 tetex-bin  - teTeX binary files
Closes: 95662 131570 131638 132620 138161 139028 141086
Changes: 
 tetex-bin (1.0.7+20011202-6) unstable; urgency=medium
 .
   * Removed ``!!'' from heads of $TEXMFLOCAL and $TEXMFOLDLOCAL in
     texmf.d/05TeXMF, which eliminates the need for an ls-R file in
     /usr/local/share/texmf or /usr/local/lib/texmf
   * Modified debian/cron.daily to not create or update ls-R files in
     /usr/local unless the sysadmin manually changes a variable (with the
     previous change, closes: #141086)
   * fix xdvi wrapper (xdvi-sh) so that it rereads a dvi with SIGUSR1 and also
     can handle spaces in file names.  (closes: #95662, #138161, #139028)
   * add libxaw7-dev to Build-Depends field.  (closes: #131638)
   * fix epstopdf (closes: #131570)
   * a bit more robust update-texmf and update-fmtutil.
   * update the Uploaders: entry.
   * The first two fixes were done by [cmc@debian.org] and the rest were
     by [kohda@debian.org].
   * Improved postinst {texmf,fmtutil}.cnf reorganisation handling (don't
     overwrite saved .dpkg-old files on every upgrade!) [jdg]
   * Bail out of postinst immediately if we are not configuring [jdg]
   * introduce new postinst and postrm code to handle the pk/tfm/etc
     directories [jdg]
   * fix mkindex.1 overwriting makeindex.1 bug (closes: #132620) [jdg]
Files: 
 2a95f067e51187e5566443cb02284fb5 1005 tex standard tetex-bin_1.0.7+20011202-6.dsc
 25df42df303787d71057769658c6a72d 37836 tex standard tetex-bin_1.0.7+20011202-6.diff.gz
 8edcda2f4656cabd2597561a4824d24d 3136356 tex optional tetex-bin_1.0.7+20011202-6_i386.deb
 c5fc48a55f4d69d3814e66db7c52c75f 40012 libs optional libkpathsea3_1.0.7+20011202-6_i386.deb
 e2fb20a798685f0e3af48fd65fef4d85 62526 devel optional libkpathsea-dev_1.0.7+20011202-6_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: KUHASIKU WA http://www.gnupg.org/ WO GORANKUDASAI

iD8DBQE8uBpf1IXdL1v6kOwRAiSjAJ4nKJQF/8xd2Uj+MGBfI91ftBFROgCfUV9t
k40Katgk+pWkbvetLEVUiFE=
=KsGI
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: