Your message dated Mon, 28 Nov 2005 06:02:12 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#337294: fixed in dash 0.5.3-1
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; 3 Nov 2005 18:17:30 +0000
>From [EMAIL PROTECTED] Thu Nov 03 10:17:30 2005
Return-path: <[EMAIL PROTECTED]>
Received: from aputeaux-153-1-17-7.w82-124.abo.wanadoo.fr 
(namakemono.glandium.org) [82.124.59.7] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EXjeU-0005Rf-00; Thu, 03 Nov 2005 10:17:30 -0800
Received: from mh by namakemono.glandium.org with local (Exim 4.54)
        id 1EXjdt-0006rM-Ft; Thu, 03 Nov 2005 19:16:53 +0100
Content-Type: multipart/mixed; boundary="===============1980148968=="
MIME-Version: 1.0
From: Mike Hommey <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: dash: Echo'ing \c breaks subsequent calls to echo
X-Mailer: reportbug 3.17
Date: Thu, 03 Nov 2005 19:16:53 +0100
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.5 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============1980148968==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: dash
Version: 0.5.2-8
Severity: normal
Tags: patch, upstream

Here is a simple test case:

#!/bin/dash
echo test\\ test
echo '\c'
echo test\\ test

it outputs:
test\ test
test\

instead of
test\ test
test\ test

This is due to mis-usage of a global variable. See attached patch for a
fix.

This bug has for side effect to break some autoconf generated scripts with
dash in some corner cases. (see #211010 and #256384)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-1-686
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)

Versions of packages dash depends on:
ii  libc6                         2.3.5-7    GNU C Library: Shared libraries an

dash recommends no packages.

-- debconf information excluded

--===============1980148968==
Content-Type: text/x-c; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="dash.diff"

diff -rN -u5 dash-0.5.2/src/bltin/printf.c dash-0.5.2.new/src/bltin/printf.c
--- dash-0.5.2/src/bltin/printf.c       2004-07-09 11:58:46.000000000 +0200
+++ dash-0.5.2.new/src/bltin/printf.c   2005-11-03 14:29:05.623352408 +0100
@@ -516,10 +516,12 @@
                nonl = ~nonl;
                if (!*++argv)
                        goto end;
        }
 
+       rval = 0;
+
        do {
                char c;
 
                c = *(*argv)++;
                if (!c)

--===============1980148968==--

---------------------------------------
Received: (at 337294-close) by bugs.debian.org; 28 Nov 2005 14:12:34 +0000
>From [EMAIL PROTECTED] Mon Nov 28 06:12:34 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1Egja8-00020T-2D; Mon, 28 Nov 2005 06:02:12 -0800
From: Gerrit Pape <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.60 $
Subject: Bug#337294: fixed in dash 0.5.3-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Mon, 28 Nov 2005 06:02:12 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: dash
Source-Version: 0.5.3-1

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

ash_0.5.3-1_all.deb
  to pool/main/d/dash/ash_0.5.3-1_all.deb
dash_0.5.3-1.diff.gz
  to pool/main/d/dash/dash_0.5.3-1.diff.gz
dash_0.5.3-1.dsc
  to pool/main/d/dash/dash_0.5.3-1.dsc
dash_0.5.3.orig.tar.gz
  to pool/main/d/dash/dash_0.5.3.orig.tar.gz



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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <[EMAIL PROTECTED]> (supplier of updated dash 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 [EMAIL PROTECTED])


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

Format: 1.7
Date: Mon, 28 Nov 2005 12:18:30 +0000
Source: dash
Binary: dash-udeb ash dash
Architecture: all source
Version: 0.5.3-1
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[EMAIL PROTECTED]>
Changed-By: Gerrit Pape <[EMAIL PROTECTED]>
Description: 
 ash        - Compatibility package for the Debian Almquist Shell
 dash       - The Debian Almquist Shell
 dash-udeb  - The Debian Almquist Shell for boot floppies (udeb)
Closes: 337294
Changes: 
 dash (0.5.3-1) unstable; urgency=low
 .
   * new upstream version.
     * Fix \c spillage across echo commands (closes: #337294).
   * debian/copyright: adapt copyright notice.
   * debian/rules: remove workaround for udeb build failure with dietlibc
     on 64bit archs; fixed upstream.
Files: 
 6a921c2f9a5360efb5d61d4333d5afa1 639 shells optional dash_0.5.3-1.dsc
 1a3cd6669459be4344ec55ec9d4914f8 207201 shells optional dash_0.5.3.orig.tar.gz
 fb06dc2e0983c7d19964863828f4a2d9 21271 shells optional dash_0.5.3-1.diff.gz
 079306cde53aa051eeefb65667778756 16486 shells optional ash_0.5.3-1_all.deb

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

iD8DBQFDiwluGJoyQbxwpv8RAl02AJ9CcPeczlA0HzYuFdAGAvBR9UbZawCdFZCo
xwnu3RX0oLbS7dvOTFPKyCQ=
=VoEk
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to