[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#248106: marked as done (busybox-cvs: sed broken on arm/powerpc/s390, assumes signed char)



Your message dated Sun, 09 May 2004 11:02:04 -0400
with message-id <E1BMpoa-0003jR-00@newraff.debian.org>
and subject line Bug#248106: fixed in busybox-cvs 20040507-2
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; 9 May 2004 11:03:01 +0000
>From cjwatson@flatline.org.uk Sun May 09 04:03:01 2004
Return-path: <cjwatson@flatline.org.uk>
Received: from chiark.greenend.org.uk [193.201.200.170] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BMm5F-000683-00; Sun, 09 May 2004 04:03:01 -0700
Received: from [192.168.124.112] (helo=riva.lab.dotat.at)
	by chiark.greenend.org.uk (Debian Exim 3.35 #1) with esmtp
	for submit@bugs.debian.org
	id 1BMm5D-0008GP-00; Sun, 09 May 2004 12:02:59 +0100
Received: from cjwatson by riva.lab.dotat.at with local (Exim 3.35 #1 (Debian))
	for submit@bugs.debian.org
	id 1BMm5C-0007eO-00; Sun, 09 May 2004 12:02:58 +0100
Date: Sun, 9 May 2004 12:02:58 +0100
From: Colin Watson <cjwatson@debian.org>
To: submit@bugs.debian.org
Subject: busybox-cvs: sed broken on arm/powerpc/s390, assumes signed char
Message-ID: <[🔎] 20040509110258.GA29378@riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: busybox-cvs
Version: 20040507-1
Severity: grave

The latest busybox-cvs has this change in sed:

-       int opt, status = EXIT_SUCCESS;
+       char opt, getpat=1, status = EXIT_SUCCESS;

It then assigns the return value of int getopt() to opt. This is totally
broken on arm, powerpc, and s390, as char is unsigned there and getopt()
uses -1 as a sentinel value; sed now displays its usage message whenever
you try to do something as simple as "sed -e 's/.*//'". Please revert to
'int opt'.

Fortunately a quick browse of the diff suggests that this is the only
such breakage.

Thanks,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]

---------------------------------------
Received: (at 248106-close) by bugs.debian.org; 9 May 2004 15:08:02 +0000
>From katie@ftp-master.debian.org Sun May 09 08:08:02 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BMpuL-0005yC-00; Sun, 09 May 2004 08:08:01 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1BMpoa-0003jR-00; Sun, 09 May 2004 11:02:04 -0400
From: Bastian Blank <waldi@debian.org>
To: 248106-close@bugs.debian.org
X-Katie: $Revision: 1.49 $
Subject: Bug#248106: fixed in busybox-cvs 20040507-2
Message-Id: <E1BMpoa-0003jR-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 09 May 2004 11:02:04 -0400
Delivered-To: 248106-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Source: busybox-cvs
Source-Version: 20040507-2

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

busybox-cvs-floppy-udeb_20040507-2_i386.udeb
  to pool/main/b/busybox-cvs/busybox-cvs-floppy-udeb_20040507-2_i386.udeb
busybox-cvs-static_20040507-2_i386.deb
  to pool/main/b/busybox-cvs/busybox-cvs-static_20040507-2_i386.deb
busybox-cvs-udeb_20040507-2_i386.udeb
  to pool/main/b/busybox-cvs/busybox-cvs-udeb_20040507-2_i386.udeb
busybox-cvs_20040507-2.diff.gz
  to pool/main/b/busybox-cvs/busybox-cvs_20040507-2.diff.gz
busybox-cvs_20040507-2.dsc
  to pool/main/b/busybox-cvs/busybox-cvs_20040507-2.dsc
busybox-cvs_20040507-2_i386.deb
  to pool/main/b/busybox-cvs/busybox-cvs_20040507-2_i386.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 248106@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Blank <waldi@debian.org> (supplier of updated busybox-cvs 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.7
Date: Sun, 09 May 2004 16:34:41 +0200
Source: busybox-cvs
Binary: busybox-cvs-static busybox-cvs busybox-cvs-udeb busybox-cvs-floppy-udeb
Architecture: source i386
Version: 20040507-2
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Bastian Blank <waldi@debian.org>
Description: 
 busybox-cvs - Tiny utilities for small and embedded systems
 busybox-cvs-floppy-udeb - Tiny utilities for the debian-installer floppy images (udeb)
 busybox-cvs-static - Standalone rescue shell with tons of builtin utilities
 busybox-cvs-udeb - Tiny utilities for the debian-installer (udeb)
Closes: 248106
Changes: 
 busybox-cvs (20040507-2) unstable; urgency=low
 .
   * editors/sed.c:
     - Never assign the return value of getopt to char. (closes: #248106)
Files: 
 19c950034cb816db9252210908f9faad 793 - optional busybox-cvs_20040507-2.dsc
 bd8b70d106e9fc5085e794f1e42d5c82 174545 - optional busybox-cvs_20040507-2.diff.gz
 37732e51a31c271005da9f9e06a6a3a2 663682 shells optional busybox-cvs-static_20040507-2_i386.deb
 c772a3752c064f6f5a25cd282f35b243 124716 utils optional busybox-cvs_20040507-2_i386.deb
 5944118215f8cecfcaaa5954d13fa4a6 141466 debian-installer extra busybox-cvs-udeb_20040507-2_i386.udeb
 2bd0ab0c907305b647d6bb645e1fa0f3 59436 debian-installer extra busybox-cvs-floppy-udeb_20040507-2_i386.udeb

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

iEYEARECAAYFAkCeRFMACgkQLkAIIn9ODhEtzQCg+nvmCF1+wX+/XQkmeoV9IJE6
EWIAoOadwj3SGNlmO8tnQqtiEeV6rLhD
=EOW1
-----END PGP SIGNATURE-----



Reply to: