Bug#181239: marked as done (wrong assumption on char signedness)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 09 Apr 2005 07:03:15 -0700


Your message dated Sat, 09 Apr 2005 15:54:22 +0200
with message-id <1113054863.10810.8.camel@localhost.localdomain>
and subject line wrong assumption on char signedness
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 maintonly) by bugs.debian.org; 16 Feb 2003 15:32:55 +0000
>From GerhardTonn@gammatau.de Sun Feb 16 09:32:54 2003
Return-path: <GerhardTonn@gammatau.de>
Received: from moutvdom.kundenserver.de [212.227.126.251] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18kQmk-0000HA-00; Sun, 16 Feb 2003 09:32:54 -0600
Received: from [212.227.126.224] (helo=mrvdomng.kundenserver.de)
	by moutvdom.kundenserver.de with esmtp (Exim 3.35 #1)
	id 18kQmk-0003yV-00
	for maintonly@bugs.debian.org; Sun, 16 Feb 2003 16:32:54 +0100
Received: from [80.138.129.29] (helo=tau)
	by mrvdomng.kundenserver.de with smtp (Exim 3.35 #1)
	id 18kQmj-0002JB-00
	for maintonly@bugs.debian.org; Sun, 16 Feb 2003 16:32:53 +0100
From: Gerhard Tonn <GerhardTonn@gammatau.de>
To: maintonly@bugs.debian.org
Subject: wrong assumption on char signedness
Date: Sun, 16 Feb 2003 16:39:10 +0100
X-Mailer: KMail [version 1.1.99]
Content-Type: text/plain;
  charset="iso-8859-1"
MIME-Version: 1.0
Message-Id: <0302161639100K.00765@tau>
Content-Transfer-Encoding: 8bit
Delivered-To: maintonly@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: libgtop2
Version:  2.0.1-4
Severity: important

Hi,
char is per default unsigned on arm, powerpc and s390. There are several 
warnings,

procmap.c:102: warning: comparison is always true due to limited range of 
data type

during build of your package that might cause a runtime error. Please check

http://buildd.debian.org/fetch.php?&pkg=libgtop2&ver=2.0.1-4&arch=s390&stamp=1044708083&file=log&as=raw

for details.

In the case above the variable fn[0] should be defined as int. Defining it as 
char is even wrong on i386, since the char 0xff is then interpreted as EOF. 
On the platforms mentioned above the EOF condition is never true, leading to 
an infinite loop.

Thanks,
Gerhard

---------------------------------------
Received: (at 181239-done) by bugs.debian.org; 9 Apr 2005 13:52:36 +0000
>From seb128@debian.org Sat Apr 09 06:52:35 2005
Return-path: <seb128@debian.org>
Received: from smtp5.wanadoo.fr [193.252.22.26] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DKGO3-0001xl-00; Sat, 09 Apr 2005 06:52:35 -0700
Received: from me-wanadoo.net (localhost [127.0.0.1])
	by mwinf0508.wanadoo.fr (SMTP Server) with ESMTP id 96F3A1C00101
	for <181239-done@bugs.debian.org>; Sat,  9 Apr 2005 15:52:04 +0200 (CEST)
Received: from [192.168.0.2] (ANancy-151-1-39-219.w83-196.abo.wanadoo.fr [83.196.38.219])
	by mwinf0508.wanadoo.fr (SMTP Server) with ESMTP id 267A71C000FC;
	Sat,  9 Apr 2005 15:52:00 +0200 (CEST)
X-ME-UUID: 20050409135201157.267A71C000FC@mwinf0508.wanadoo.fr
Subject: Re: wrong assumption on char signedness
From: Sebastien Bacher <seb128@debian.org>
To: 181239-submitter@bugs.debian.org, 181239-done@bugs.debian.org
Content-Type: text/plain
Date: Sat, 09 Apr 2005 15:54:22 +0200
Message-Id: <1113054863.10810.8.camel@localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.2.1.1 
Content-Transfer-Encoding: 7bit
Delivered-To: 181239-done@bugs.debian.org
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-Status: No, hits=-1.8 required=4.0 tests=BAYES_00,FROM_ENDS_IN_NUMS 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

> procmap.c:102: warning: comparison is always true due to limited range
> of data type

According to the upstream that's not a libgtop issue, I'm closing the
bug. Feel free to reopen if you disagree.


Cheers,

Sebastien Bacher