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

Bug#127353: marked as done (xdvi wrapper script fails with spaces in options)



Your message dated Mon, 09 Dec 2002 18:32:33 -0500
with message-id <E18LXO5-0004tX-00@auric.debian.org>
and subject line Bug#127353: fixed in tetex-bin 1.0.7+20021025-5
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; 1 Jan 2002 20:38:25 +0000
>From lehman@gmx.net Tue Jan 01 14:38:25 2002
Return-path: <lehman@gmx.net>
Received: from mailout11.sul.t-online.com [194.25.134.85] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16LVg0-0002RN-00; Tue, 01 Jan 2002 14:38:25 -0600
Received: from fwd03.sul.t-online.de 
	by mailout11.sul.t-online.de with smtp 
	id 16LVfz-0007N4-08; Tue, 01 Jan 2002 21:38:23 +0100
Received: from daedalus.t-dialin.net (520054029113-0001@[217.88.121.177]) by fmrl03.sul.t-online.com
	with esmtp id 16LVfx-0x1SrIC; Tue, 1 Jan 2002 21:38:21 +0100
Received: from minerva.t-dialin.net [192.168.1.3]
	by daedalus.t-dialin.net with esmtp id 16LVfw-0000ul-00
	for submit@bugs.debian.org; Tue, 01 Jan 2002 21:38:20 +0100
Received: from localhost (localhost [127.0.0.1])
	by minerva.t-dialin.net with esmtp id 16LVfr-0003G5-00
	for submit@bugs.debian.org; Tue, 01 Jan 2002 21:38:15 +0100
Date: Tue, 1 Jan 2002 21:38:15 +0100 (CET)
From: Philipp Lehman <lehman@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: xdvi wrapper script fails with spaces in options
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Message-ID: <16LVfr-0003G5-00@minerva.t-dialin.net>
X-Sender: 520054029113-0001@t-dialin.net
Delivered-To: submit@bugs.debian.org

Package: tetex-bin
Version: 1.0.7+20011202-2
Severity: normal

When using xdvi's -sourceposition option in conjunction with a file
name which starts with a digit, the line number has to be separated
from the file name with a space and the whole expression needs to be
enclosed in quotes (or the space needs to be escaped) to prevent the
shell from breaking it up into two arguments, e.g.:

	xdvi -sourceposition "143 00file.tex" 00file.dvi
	xdvi -sourceposition 143\ 00file.tex  00file.dvi

The wrapper script /usr/bin/xdvi, however, does not deal with spaces
in options properly. They are broken up into separate arguments,
making xdvi quit with an error message in this particular case.

I suggest changing the /usr/bin/xdvi wrapper script along the
following lines:

---------- BEGIN xdvi.diff ----------
49c49
< for i in "$@"
---
> for i
52c52
<     lastarg="\"$i\""
---
>     lastarg=$i
74c74
< eval xdvi.bin $NAMEOPT $args $filename || exit 1
---
> xdvi.bin $NAMEOPT $args $filename || exit 1
----------  END  xdvi.diff ----------

-- 
Philipp Lehman  <lehman@gmx.net>


---------------------------------------
Received: (at 127353-close) by bugs.debian.org; 9 Dec 2002 23:32:44 +0000
>From katie@auric.debian.org Mon Dec 09 17:32:44 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 18LXOG-0006tg-00; Mon, 09 Dec 2002 17:32:44 -0600
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 18LXO5-0004tX-00; Mon, 09 Dec 2002 18:32:33 -0500
From: Atsuhito KOHDA <kohda@debian.org>
To: 127353-close@bugs.debian.org
X-Katie: $Revision: 1.28 $
Subject: Bug#127353: fixed in tetex-bin 1.0.7+20021025-5
Message-Id: <E18LXO5-0004tX-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 09 Dec 2002 18:32:33 -0500
Delivered-To: 127353-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+20021025-5_i386.deb
  to pool/main/t/tetex-bin/libkpathsea-dev_1.0.7+20021025-5_i386.deb
libkpathsea3_1.0.7+20021025-5_i386.deb
  to pool/main/t/tetex-bin/libkpathsea3_1.0.7+20021025-5_i386.deb
tetex-bin_1.0.7+20021025-5.diff.gz
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-5.diff.gz
tetex-bin_1.0.7+20021025-5.dsc
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-5.dsc
tetex-bin_1.0.7+20021025-5_i386.deb
  to pool/main/t/tetex-bin/tetex-bin_1.0.7+20021025-5_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 127353@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: Wed,  4 Dec 2002 16:59:27 +0900
Source: tetex-bin
Binary: libkpathsea3 tetex-bin libkpathsea-dev
Architecture: source i386
Version: 1.0.7+20021025-5
Distribution: unstable
Urgency: low
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: 117528 127353 148987 171413
Changes: 
 tetex-bin (1.0.7+20021025-5) unstable; urgency=low
 .
   * Refined update-texmf and update-fmtutil.  [advised by jdg and done by
     kohda]  (Closes: #171413)
   * Also modified update-texmf so that only the files in /etc/texmf/texmf.d/
     with name *.cnf would be handled by update-texmf as update-fmtutil did.
     [kohda]  (Closes: #148987)
   * Rewrote preinst completely.  Mainly new preinst would rename the old
     files in /etc/texmf/texmf.d/*  [kohda]
   * Now debconf would display a remark on the change of update-texmf because
     a user should rename his/her own private files in /etc/texmf/texmf.d/
     so that texmf.cnf would be correct.  [kohda]
   * Insatlled xdvi of Perl script by Julian Gilbey <jdg@debian.org> instead of
     the original shell script.  [kohda]  (Closes: #117528, #127353)
   * Added manual pages of update-texmf, update-fmtutil and updmap.  [kohda]
   * Fixed this file ;)  I forgot to mention the modification of 95NonPath
     done in 1.0.7+20021025-4  [kohda]
Files: 
 776486858a8b17b49d0e36838b19e438 959 tex optional tetex-bin_1.0.7+20021025-5.dsc
 4f2870bde1bc679ff17dbf3546a93cfb 46210 tex optional tetex-bin_1.0.7+20021025-5.diff.gz
 07c392e2a61bf80e7614d17bffd4053b 2782660 tex optional tetex-bin_1.0.7+20021025-5_i386.deb
 5147e5406605b8349a70c3d57ef03e75 43146 libs optional libkpathsea3_1.0.7+20021025-5_i386.deb
 03cd4b0029e07e3da172f17402663314 62662 devel optional libkpathsea-dev_1.0.7+20021025-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE99SLS1IXdL1v6kOwRAnlfAKCRBrKOaY1QVcltD/erxySLn6cbXACfXwOl
P0umqDt1+orzANo41bvhKDg=
=iVtT
-----END PGP SIGNATURE-----



Reply to: