Your message dated Wed, 19 Oct 2005 09:17:08 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#334547: fixed in powerpc-utils 1.1.3-18
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; 18 Oct 2005 16:32:43 +0000
>From [EMAIL PROTECTED] Tue Oct 18 09:32:43 2005
Return-path: <[EMAIL PROTECTED]>
Received: from tharradin.pu-pm.univ-fcomte.fr [194.57.85.210] (postfix)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ERuOJ-0005kp-00; Tue, 18 Oct 2005 09:32:43 -0700
Received: by tharradin.pu-pm.univ-fcomte.fr (Postfix, from userid 65534)
        id D9BEF3BA255; Tue, 18 Oct 2005 18:32:40 +0200 (CEST)
Received: from [192.168.105.23] (clyde.pu-pm.univ-fcomte.fr [192.168.105.23])
        by tharradin.pu-pm.univ-fcomte.fr (Postfix) with ESMTP id 8EBFC3BA252
        for <[EMAIL PROTECTED]>; Tue, 18 Oct 2005 18:32:40 +0200 (CEST)
Message-ID: <[EMAIL PROTECTED]>
Date: Tue, 18 Oct 2005 18:31:09 +0200
From: Eugen Dedu <[EMAIL PROTECTED]>
Organization: University of Franche-Comte, France
User-Agent: Debian Thunderbird 1.0.7 (X11/20051010)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: powerpc-utils: Sign problem in nvsetvol.
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Subject: powerpc-utils: Sign problem in nvsetvol.
Package: powerpc-utils
Version: 1.1.3-17
Severity: normal

Hi,

nvsetvol uses a parameter between 0 and 255.

nvsetvol.c, line 106:
          printf("new volume is %d\n", buf[VOLADDR]);
But buf is a char* and the compilation line uses -fsigned-char.

If the value is >127, then a negative number is printed.  See this 
thread 
http://groups.google.com/group/linux.debian.ports.powerpc/browse_thread/thread/47191ed3d5482c23/de8c0289022cdad6?lnk=st&q=debian+powerpc+nvsetvol&rnum=1&hl=en#de8c0289022cdad6

Patch : replace the above line with:
          printf("new volume is %d\n", (unsigned char)buf[VOLADDR]);
(or compile without -fsigned-char switch).

The same problem appears on line 98, do the same to fix it.

Thanks,
Eugen

-- System Information:
Debian Release: testing/unstable
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

---------------------------------------
Received: (at 334547-close) by bugs.debian.org; 19 Oct 2005 16:18:19 +0000
>From [EMAIL PROTECTED] Wed Oct 19 09:18:19 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1ESGcm-0000CY-00; Wed, 19 Oct 2005 09:17:08 -0700
From: Michael Schmitz <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#334547: fixed in powerpc-utils 1.1.3-18
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 19 Oct 2005 09:17:08 -0700
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: powerpc-utils
Source-Version: 1.1.3-18

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

powerpc-utils_1.1.3-18.diff.gz
  to pool/main/p/powerpc-utils/powerpc-utils_1.1.3-18.diff.gz
powerpc-utils_1.1.3-18.dsc
  to pool/main/p/powerpc-utils/powerpc-utils_1.1.3-18.dsc
powerpc-utils_1.1.3-18_powerpc.deb
  to pool/main/p/powerpc-utils/powerpc-utils_1.1.3-18_powerpc.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 [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Schmitz <[EMAIL PROTECTED]> (supplier of updated powerpc-utils 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: Wed, 19 Oct 2005 18:07:34 +0200
Source: powerpc-utils
Binary: powerpc-utils
Architecture: source powerpc
Version: 1.1.3-18
Distribution: unstable
Urgency: low
Maintainer: Michael Schmitz <[EMAIL PROTECTED]>
Changed-By: Michael Schmitz <[EMAIL PROTECTED]>
Description: 
 powerpc-utils - Various utilities for Linux/PowerPC
Closes: 326394 332926 334547
Changes: 
 powerpc-utils (1.1.3-18) unstable; urgency=low
 .
   * add -D_GNU_SOURCE to Makefile in order to help with 64 bit pointer
     size on ppc64.
     Closes: #326394.
 .
   * Fix problem introduced in -12 (/etc/adjtime converted to symlink
     into /var fs): Convert symlink to plain copy now.
     Closes: #332926.
 .
   * Fix char signedness bug in nvsetvol (patch by Eugen Dedu
     <[EMAIL PROTECTED]>.
     Closes: #334547
Files: 
 03956b9c75320c36700ce48d5332ae23 640 base important powerpc-utils_1.1.3-18.dsc
 ac38b7775fc8383a62f49773180d9bcb 27252 base important 
powerpc-utils_1.1.3-18.diff.gz
 c86cff0bd529f17f364547bb3239c915 37946 base important 
powerpc-utils_1.1.3-18_powerpc.deb

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

iD8DBQFDVm9SjH3TJU9qR44RAj9sAJ9/ydcShSvVc+4bXUTwbQLR8hli0wCeIZPt
y6cthBBevQLuATK1B/mRwkE=
=grcs
-----END PGP SIGNATURE-----


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

Reply via email to