From bounce-debian-bugs-closed==chris-lamb.co.uk@lists.debian.org Sun Apr 20 14:10:55 2008
Received: from liszt.debian.org ([82.195.75.100])
	by chris-lamb.co.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.63)
	(envelope-from <bounce-debian-bugs-closed==chris-lamb.co.uk@lists.debian.org>)
	id 1JnZJg-00075y-F4
	for bot.address@chris-lamb.co.uk; Sun, 20 Apr 2008 14:10:55 +0100
Received: from localhost (localhost [127.0.0.1])
	by liszt.debian.org (Postfix) with QMQP
	id 3762713A4FEC; Sun, 20 Apr 2008 13:10:47 +0000 (UTC)
Old-Return-Path: <debbugs@rietz.debian.org>
X-Original-To: debian-bugs-closed@lists.debian.org
Delivered-To: lists-debian-bugs-closed@liszt.debian.org
Received: from rietz.debian.org (rietz.debian.org [140.211.166.43])
	by liszt.debian.org (Postfix) with ESMTP id A632013A4FC0;
	Sun, 20 Apr 2008 13:10:44 +0000 (UTC)
Received: from debbugs by rietz.debian.org with local (Exim 4.63)
	(envelope-from <debbugs@rietz.debian.org>)
	id 1JnZFF-0002e0-7l; Sun, 20 Apr 2008 13:06:13 +0000
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Gerrit Pape <pape@smarden.org>
Subject: Bug#470914: marked as done (compiled dash binary (0.5.4-7) fails 
 to parse "$(($code&3))" arithmetic expression)
Message-ID: <handler.470914.D470914.12086965661473.ackdone@bugs.debian.org>
References: <E1JnYwh-0007HB-DA@ries.debian.org>
 <7a50293a0803140707k2a19a1f4o4ae90bb2f070c32e@mail.gmail.com>
X-Debian-PR-Message: closed 470914
X-Debian-PR-Package: dash
X-Debian-PR-Keywords: patch
X-Debian-PR-Source: dash
Content-Type: multipart/mixed; boundary="----------=_1208696773-10121-0"
Sender: Debian BTS <debbugs@rietz.debian.org>
Date: Sun, 20 Apr 2008 13:06:13 +0000
X-Debian-Message: from BTS
Resent-Message-ID: <SQSUmcpUSMP.A.ox.XD0CIB@liszt>
Resent-From: debian-bugs-closed@lists.debian.org
X-Mailing-List: <debian-bugs-closed@lists.debian.org> archive/latest/132990
X-Loop: debian-bugs-closed@lists.debian.org
List-Id: <debian-bugs-closed.lists.debian.org>
List-Post: <mailto:debian-bugs-closed@lists.debian.org>
List-Help: <mailto:debian-bugs-closed-request@lists.debian.org?subject=help>
List-Subscribe: <mailto:debian-bugs-closed-request@lists.debian.org?subject=subscribe>
List-Unsubscribe: <mailto:debian-bugs-closed-request@lists.debian.org?subject=unsubscribe>
Precedence: list
Resent-Sender: debian-bugs-closed-request@lists.debian.org
Resent-Date: Sun, 20 Apr 2008 13:10:47 +0000 (UTC)
Received-SPF: none
X-SPF-Guess: pass
X-Spam-Score: -2.4
X-Spam-Report: (-2.4 points, 5.0 required)
	pts rule name              description
	---- ---------------------- --------------------------------------------------
	-2.6 BAYES_00               BODY: Bayesian spam probability is 0 to 1%
	[score: 0.0000]
	0.2 AWL                    AWL: From: address is in the auto white-list

This is a multi-part message in MIME format...

------------=_1208696773-10121-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8


Your message dated Sun, 20 Apr 2008 12:47:03 +0000
with message-id <E1JnYwh-0007HB-DA@ries.debian.org>
and subject line Bug#470914: fixed in dash 0.5.4-9
has caused the Debian Bug report #470914,
regarding compiled dash binary (0.5.4-7) fails to parse "$(($code&3))" arit=
hmetic expression
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
470914: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D470914
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1208696773-10121-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 14 Mar 2008 14:07:55 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
	(2006-07-26) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.9 required=4.0 tests=BAYES_00,FOURLA,HAS_PACKAGE 
	autolearn=no version=3.1.4-bugs.debian.org_2005_01_02
Return-path: <wuzhaojun@gmail.com>
Received: from rn-out-0910.google.com ([64.233.170.186])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <wuzhaojun@gmail.com>)
	id 1JaAZf-00032u-0E
	for submit@bugs.debian.org; Fri, 14 Mar 2008 14:07:55 +0000
Received: by rn-out-0910.google.com with SMTP id i50so2706988rne.11
        for <submit@bugs.debian.org>; Fri, 14 Mar 2008 07:07:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        bh=tB8W8IMz0EYGGV9cTTnG9qMhTChBSGiWcphlbH+8U4U=;
        b=mvKBjIdB/LVHsL79EVNXvH9LX8TF3coLiHBuXfJT8Ofyq04M/lt+A82HsqNO8MnOlGunRFed83o3Vwzor42VxLd8GI5MucedpErxv2yzp/JJ9iFOfCLeYdUk2Uxh/vglzq864MiaN8BLoVgq/rVRJmFcT91iYgpN+dI7oOSLsrg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;
        b=LZJVL2zu7fCoGTgaYz1orupveOxMpPtNxcT/+xaKoQBFprxf/FWbNzbG/MlCApu4MvqM38AzamgcqTTlyno3EjUugMOyki72lL2XwFDvT+kFMxR/kmlGu6dJPI1UdgdzZkTFPD94dz/RD1TDDziHLfmj5JAode9RH4trXCU5Vyg=
Received: by 10.142.187.2 with SMTP id k2mr4914508wff.77.1205503672503;
        Fri, 14 Mar 2008 07:07:52 -0700 (PDT)
Received: by 10.142.191.3 with HTTP; Fri, 14 Mar 2008 07:07:52 -0700 (PDT)
Message-ID: <7a50293a0803140707k2a19a1f4o4ae90bb2f070c32e@mail.gmail.com>
Date: Fri, 14 Mar 2008 22:07:52 +0800
From: "WU Zhaojun" <wuzhaojun@gmail.com>
To: "Debian Bug Report" <submit@bugs.debian.org>
Subject: compiled dash binary (0.5.4-7) fails to parse "$(($code&3))" arithmetic expression
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Delivered-To: submit@bugs.debian.org

Package: dash
Version: 0.5.4-7
Severity: minor

*** Please type your report below this line ***
This bug was found when running the TuxOnIce's "suspend2"
script  which tries to use dash to evaluate the following
arithmetic expression:

    if [ $(($code&3)) -eq 3 ] ; then

dash reports an error message as follows:

'arithmetic expression: expecting primary: "19&3"'

where "19" is the value of $code.

It seems dash fails to parse this arithmetic expression
when there is *no space* between the operands (ie. $code
and 3) and the operator (ie. &)

This bug only exists in the compiled "dash" binary distributed
within the .deb package. However, recompiling the binary file
from the corresponding .deb source files doesn't have this
problem.

The following simple script could be used to reproduce the
problem:

#!/bin/dash
code=19
if [ $(($code&3)) -eq 3 ] ; then
   echo "yes!"
else
    echo "no!"
fi


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-20071222-ibm-t43 (PREEMPT)
Locale: LANG=en_US, LC_CTYPE=zh_CN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6                         2.7-6      GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information:
  dash/sh: false
~

-- 
Best,
Zhaojun (Joseph)



------------=_1208696773-10121-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 470914-close) by bugs.debian.org; 20 Apr 2008 13:02:46 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02 
	(2006-07-26) on rietz.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-7.7 required=4.0 tests=BAYES_00,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,HEADER_X_KATIE,IMPRONONCABLE_2,
	MURPHY_WRONG_WORD2 autolearn=no 
	version=3.1.4-bugs.debian.org_2005_01_02
Return-path: <dak@ftp-master.debian.org>
Received: from ries.debian.org ([128.148.34.103])
	by rietz.debian.org with esmtp (Exim 4.63)
	(envelope-from <dak@ftp-master.debian.org>)
	id 1JnZBt-0000N7-VB
	for 470914-close@bugs.debian.org; Sun, 20 Apr 2008 13:02:46 +0000
Received: from dak by ries.debian.org with local (Exim 4.63)
	(envelope-from <dak@ftp-master.debian.org>)
	id 1JnYwh-0007HB-DA; Sun, 20 Apr 2008 12:47:03 +0000
From: Gerrit Pape <pape@smarden.org>
To: 470914-close@bugs.debian.org
X-DAK: dak process-unchecked
X-Katie: $Revision: 1.65 $
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Subject: Bug#470914: fixed in dash 0.5.4-9
Message-Id: <E1JnYwh-0007HB-DA@ries.debian.org>
Sender: Archive Administrator <dak@ftp-master.debian.org>
Date: Sun, 20 Apr 2008 12:47:03 +0000
Content-Transfer-Encoding: quoted-printable

Source: dash
Source-Version: 0.5.4-9

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.4-9_all.deb
  to pool/main/d/dash/ash_0.5.4-9_all.deb
dash_0.5.4-9.diff.gz
  to pool/main/d/dash/dash_0.5.4-9.diff.gz
dash_0.5.4-9.dsc
  to pool/main/d/dash/dash_0.5.4-9.dsc



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 470914@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gerrit Pape <pape@smarden.org> (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 ftpmaster@debian.org)


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

Format: 1.8
Date: Thu, 17 Apr 2008 20:34:15 +0000
Source: dash
Binary: dash ash
Architecture: all source
Version: 0.5.4-9
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <pape@smarden.org>
Changed-By: Gerrit Pape <pape@smarden.org>
Description:=20
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 469253 469466 469755 470914
Changes:=20
 dash (0.5.4-9) unstable; urgency=3Dlow
 .
   * debian/diff/0046-Fix-bitwise-AND-and-OR-operator-parsing.diff: new:
     Fix bitwise AND and OR operator parsing (closes: #470914).
   * debian/dash.menu: change menu section from Apps/Shells to
     Applications/Shells (thx Christian Perrier).
   * debian/po/fr.po: [INTL:fr] French debconf templates translation upda=
te
     (thx Christian Perrier, closes: #469253).
   * debian/po/fi.po: [INTL:fi] Updated Finnish translation of the debcon=
f
     templates (thx Esko Araj=C3=A4rvi, closes: #469466).
   * debian/po/de.po: [INTL:de] updated German debconf translation (thx
     Helge Kreutzmann, closes: #469755).
Checksums-Sha1:=20
 45570909c9a0291d3c1375f546437edc064b3b3c 955 dash_0.5.4-9.dsc
 b7eb03509704fbc287898ffb8b879a4283bb1ce1 125513 dash_0.5.4-9.diff.gz
 48642e343eaf9b0f7fe680f8ca3dc799c91aba73 20784 ash_0.5.4-9_all.deb
Checksums-Sha256:=20
 4fe96afdc7caca12621f1198051bedb36a97b2a137aa3989c4b14cde1f309f01 955 das=
h_0.5.4-9.dsc
 4af8d755cb04913527679b135127df283d2e353193aee0dddf0e01393ece97d8 125513 =
dash_0.5.4-9.diff.gz
 f59e06d21b9e7d0c857e3e893693509c111918e665ccff3196a57934f9fd3fb0 20784 a=
sh_0.5.4-9_all.deb
Files:=20
 32d9a376ca1b9a9b531df61d4f7420c9 955 shells optional dash_0.5.4-9.dsc
 0a2b31f6e8aafb1fffc04e4ddd897b66 125513 shells optional dash_0.5.4-9.dif=
f.gz
 f649983f0aea7c6e27000de85419da1b 20784 shells optional ash_0.5.4-9_all.d=
eb

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

iD8DBQFIB7lfGJoyQbxwpv8RAtLWAJ42u7qxCJfA4y57bx/HZvtPUqQZ5wCfbuZz
CjTbtW4Jjvo3M2pR8Or9dFs=3D
=3D8RFf
-----END PGP SIGNATURE-----



------------=_1208696773-10121-0--


-- 
To UNSUBSCRIBE, email to debian-bugs-closed-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


