Your message dated Sun, 11 May 2003 20:41:16 +1000
with message-id <[EMAIL PROTECTED]>
and subject line Removed
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; 21 Feb 2003 21:55:49 +0000
>From [EMAIL PROTECTED] Fri Feb 21 15:55:49 2003
Return-path: <[EMAIL PROTECTED]>
Received: from dinadan.u-strasbg.fr [130.79.74.10] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 18mL91-0000LK-00; Fri, 21 Feb 2003 15:55:47 -0600
Received: from giersch by dinadan.u-strasbg.fr with local (Exim 3.35 #1 
(Debian))
        id 18mL90-0002zv-00
        for <[EMAIL PROTECTED]>; Fri, 21 Feb 2003 22:55:46 +0100
To: Debian BTS submit <[EMAIL PROTECTED]>
Subject: psptools: psplpr loops with --dontincfeatures option
From: Arnaud Giersch <[EMAIL PROTECTED]>
Date: 21 Feb 2003 22:55:41 +0100
Message-ID: <[EMAIL PROTECTED]>
Lines: 57
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Arnaud Giersch <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-2.9 required=4.0
        tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF,SIGNATURE_SHORT_DENSE,
              SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_GNUS_UA
        version=2.44
X-Spam-Level: 

Package: psptools
Version: 1.2.2-7
Severity: normal
Tags: patch

Hi,

Using option "--dontincfeatures" makes psplpr looping:

$ psplpr --dontincfeatures -o - < foo.ps
%!PS-Adobe-2.0
[...]
%%BeginSetup
%%Feature: *Resolution 600dpi
%%Feature: *Resolution 600dpi
%%Feature: *Resolution 600dpi
[... line repeated infinitely ...]

foo.ps is a simple file generated with latex+dvips (which I can
provide if needed).

I tried to trace the problem and found that the following patch solves
the problem.  But as I don't speak Perl natively and I have no idea
what psplpr is supposed to do here, I don't know if it is correct.

--- psplpr.pl.in~       Fri Feb 21 14:22:52 2003
+++ psplpr.pl.in        Fri Feb 21 21:32:13 2003
@@ -402,7 +402,7 @@
        $_ = readpsline($conformant);
     };
 
-    while ($_) {
+    for ( ; $_ ; $_ = readpsline($conformant)) {
        if (!$code) {
            last if (!/^%%/);
        }
@@ -476,7 +476,6 @@
            }
        }
 
-       $_ = readpsline($conformant);
     }
 
     return ($_, $ps);


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux dinadan 2.4.19-686 #1 Tue Nov 19 00:52:59 EST 2002 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages psptools depends on:
ii  perl                          5.6.1-8.2  Larry Wall's Practical Extraction 

-- 
Arnaud

---------------------------------------
Received: (at 181971-done) by bugs.debian.org; 11 May 2003 10:41:27 +0000
>From [EMAIL PROTECTED] Sun May 11 05:41:26 2003
Return-path: <[EMAIL PROTECTED]>
Received: from bangpath.uucico.de [195.71.9.197] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 19EoGi-0005OL-00; Sun, 11 May 2003 05:41:24 -0500
Received: by bangpath.uucico.de (Postfix, from userid 10)
        id 0C5D626BC7; Sun, 11 May 2003 12:41:22 +0200 (CEST)
Received: by regression.cyrius.com (Postfix, from userid 1000)
        id 3A7C223D49; Sun, 11 May 2003 20:41:16 +1000 (EST)
Date: Sun, 11 May 2003 20:41:16 +1000
From: Martin Michlmayr <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED],
        [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Removed
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-7.3 required=4.0
        tests=BAYES_10,USER_AGENT_MUTT
        version=2.53-bugs.debian.org_2003_05_09
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_05_09 
(1.174.2.15-2003-03-30-exp)

This package has been removed from Debian unstable because it has been
orphaned for a very long time and nobody adopted it.  See
http://lists.debian.org/debian-devel-announce/2003/debian-devel-announce-200304/msg00005.html
for more information.

-- 
Martin Michlmayr
[EMAIL PROTECTED]

Reply via email to