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

Bug#160889: marked as done (struct tag name consistency)



Your message dated Sat, 14 Sep 2002 12:14:42 -0400
with message-id <20020914161442.GP279@phunnypharm.org>
and subject line Bug#160889: struct tag name consistency
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; 14 Sep 2002 15:11:54 +0000
>From hibi@tc.xdsl.ne.jp Sat Sep 14 10:11:53 2002
Return-path: <hibi@tc.xdsl.ne.jp>
Received: from l209156.ppp.asahi-net.or.jp (palm.utmc.or.jp) [218.219.209.156] (foobar)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17qEaL-0005pA-00; Sat, 14 Sep 2002 10:11:49 -0500
Received: from orange.honken.utmc.or.jp (dhcp002-016.honken.utmc.or.jp [172.16.2.16])
	by palm.utmc.or.jp (Postfix) with ESMTP id 8FA991FD34
	for <submit@bugs.debian.org>; Sun, 15 Sep 2002 00:11:46 +0900 (JST)
Date: Sun, 15 Sep 2002 00:11:46 +0900
Message-ID: <[🔎] 87d6rgk3m5.wl@orange.honken.utmc.or.jp>
From: HIBINO Kei <ex8k-hbn@asahi-net.or.jp>
To: submit@bugs.debian.org
Subject: struct tag name consistency
User-Agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3
 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.2
 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Delivered-To: submit@bugs.debian.org


Package: libc6-dev
Version: 2.2.5-14.1

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                   Version                Description
+++-======================-======================-============================================================
ii  libc6                  2.2.5-14.1             GNU C Library: Shared libraries and Timezone data


--- /usr/include/linux/elf.h	2002-09-11 16:18:09.000000000 +0900
+++ ./elf.h	2002-09-14 23:57:26.000000000 +0900
@@ -515,7 +515,7 @@
 #define SHN_HIRESERVE	0xffff
 #define SHN_MIPS_ACCOMON	0xff00
  
-typedef struct {
+typedef struct elf32_shdr {
   Elf32_Word	sh_name;
   Elf32_Word	sh_type;
   Elf32_Word	sh_flags;

---------------------------------------
Received: (at 160889-done) by bugs.debian.org; 14 Sep 2002 16:15:01 +0000
>From bmc@phunnypharm.org Sat Sep 14 11:15:01 2002
Return-path: <bmc@phunnypharm.org>
Received: from blowme.phunnypharm.org [65.207.35.140] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17qFZV-0008Aq-00; Sat, 14 Sep 2002 11:15:01 -0500
Received: from hopper.phunnypharm.org ([192.168.0.13] ident=mail)
	by blowme.phunnypharm.org with esmtp (Exim 3.35 #1 (Debian))
	id 17qFZE-0005gS-00; Sat, 14 Sep 2002 12:14:44 -0400
Received: from bmc by hopper.phunnypharm.org with local (Exim 3.35 #1 (Debian))
	id 17qFZC-0001Wd-00; Sat, 14 Sep 2002 12:14:42 -0400
Date: Sat, 14 Sep 2002 12:14:42 -0400
From: Ben Collins <bcollins@debian.org>
To: HIBINO Kei <ex8k-hbn@asahi-net.or.jp>, 160889-done@bugs.debian.org
Subject: Re: Bug#160889: struct tag name consistency
Message-ID: <20020914161442.GP279@phunnypharm.org>
References: <[🔎] 87d6rgk3m5.wl@orange.honken.utmc.or.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 87d6rgk3m5.wl@orange.honken.utmc.or.jp>
User-Agent: Mutt/1.4i
Sender: Ben Collins <bmc@phunnypharm.org>
Delivered-To: 160889-done@bugs.debian.org

On Sun, Sep 15, 2002 at 12:11:46AM +0900, HIBINO Kei wrote:
> 
> Package: libc6-dev
> Version: 2.2.5-14.1
> 
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name                   Version                Description
> +++-======================-======================-============================================================
> ii  libc6                  2.2.5-14.1             GNU C Library: Shared libraries and Timezone data
> 
> 
> --- /usr/include/linux/elf.h	2002-09-11 16:18:09.000000000 +0900
> +++ ./elf.h	2002-09-14 23:57:26.000000000 +0900
> @@ -515,7 +515,7 @@
>  #define SHN_HIRESERVE	0xffff
>  #define SHN_MIPS_ACCOMON	0xff00
>   
> -typedef struct {
> +typedef struct elf32_shdr {
>    Elf32_Word	sh_name;
>    Elf32_Word	sh_type;
>    Elf32_Word	sh_flags;

This patch is buggy. The whole reason for the typedef is to abstract
away the internal workings. Use the macros for accessing this header.
Closing the bug.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/



Reply to: