Your message dated Sun, 20 Apr 2008 12:47:03 +0000
with message-id <[EMAIL PROTECTED]>
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))" 
arithmetic 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 [EMAIL PROTECTED]
immediately.)


-- 
470914: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470914
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
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)



--- End Message ---
--- Begin Message ---
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 [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.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 <[EMAIL PROTECTED]>
Changed-By: Gerrit Pape <[EMAIL PROTECTED]>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 469253 469466 469755 470914
Changes: 
 dash (0.5.4-9) unstable; urgency=low
 .
   * 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 update
     (thx Christian Perrier, closes: #469253).
   * debian/po/fi.po: [INTL:fi] Updated Finnish translation of the debconf
     templates (thx Esko Arajärvi, closes: #469466).
   * debian/po/de.po: [INTL:de] updated German debconf translation (thx
     Helge Kreutzmann, closes: #469755).
Checksums-Sha1: 
 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: 
 4fe96afdc7caca12621f1198051bedb36a97b2a137aa3989c4b14cde1f309f01 955 
dash_0.5.4-9.dsc
 4af8d755cb04913527679b135127df283d2e353193aee0dddf0e01393ece97d8 125513 
dash_0.5.4-9.diff.gz
 f59e06d21b9e7d0c857e3e893693509c111918e665ccff3196a57934f9fd3fb0 20784 
ash_0.5.4-9_all.deb
Files: 
 32d9a376ca1b9a9b531df61d4f7420c9 955 shells optional dash_0.5.4-9.dsc
 0a2b31f6e8aafb1fffc04e4ddd897b66 125513 shells optional dash_0.5.4-9.diff.gz
 f649983f0aea7c6e27000de85419da1b 20784 shells optional ash_0.5.4-9_all.deb

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

iD8DBQFIB7lfGJoyQbxwpv8RAtLWAJ42u7qxCJfA4y57bx/HZvtPUqQZ5wCfbuZz
CjTbtW4Jjvo3M2pR8Or9dFs=
=8RFf
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to