public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
@ 2005-02-14 13:33 glibc at achurch dot org
  2005-02-14 13:34 ` [Bug libc/720] " glibc at achurch dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: glibc at achurch dot org @ 2005-02-14 13:33 UTC (permalink / raw)
  To: glibc-bugs

The <sys/kd.h> include file #defines _LINUX_TYPES_H to (presumably) avoid
importing unwanted symbols from <linux/kd.h>, but fails to undefine it
afterwards, causing subsequent attempts to #include <linux/types.h> to fail. 
For example, the following sequence of #includes fails to compile:

#include <sys/kd.h>
#include <linux/cdrom.h>  // this includes <linux/types.h> for __u32, etc.

-- 
           Summary: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: glibc at achurch dot org
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sources.redhat.com/bugzilla/show_bug.cgi?id=720

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libc/720] sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
  2005-02-14 13:33 [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H glibc at achurch dot org
@ 2005-02-14 13:34 ` glibc at achurch dot org
  2005-02-15  0:17 ` cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: glibc at achurch dot org @ 2005-02-14 13:34 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From glibc at achurch dot org  2005-02-14 13:34 -------
Created an attachment (id=408)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=408&action=view)
Patch

Proposed patch, based on fix for bug 140

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=720

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libc/720] sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
  2005-02-14 13:33 [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H glibc at achurch dot org
  2005-02-14 13:34 ` [Bug libc/720] " glibc at achurch dot org
@ 2005-02-15  0:17 ` cvs-commit at gcc dot gnu dot org
  2005-02-15  0:17 ` roland at gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-02-15  0:17 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-02-15 00:16 -------
Subject: Bug 720

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-02-15 00:16:16

Modified files:
	sysdeps/unix/sysv/linux/sys: kd.h 

Log message:
	2005-02-14  Roland McGrath  <roland@redhat.com>
	
	[BZ #720]
	* sysdeps/unix/sysv/linux/sys/kd.h: Don't leave _LINUX_TYPES_H defined
	if it wasn't originally.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/sys/kd.h.diff?cvsroot=glibc&r1=1.4&r2=1.5



-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=720

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libc/720] sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
  2005-02-14 13:33 [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H glibc at achurch dot org
  2005-02-14 13:34 ` [Bug libc/720] " glibc at achurch dot org
  2005-02-15  0:17 ` cvs-commit at gcc dot gnu dot org
@ 2005-02-15  0:17 ` roland at gnu dot org
  2005-10-15  0:44 ` drepper at redhat dot com
  2007-02-18  4:36 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: roland at gnu dot org @ 2005-02-15  0:17 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2005-02-15 00:17 -------
This is fixed in the trunk, but pending testing for the 2.3 branch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-15 00:17:15
               date|                            |


http://sources.redhat.com/bugzilla/show_bug.cgi?id=720

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libc/720] sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
  2005-02-14 13:33 [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H glibc at achurch dot org
                   ` (2 preceding siblings ...)
  2005-02-15  0:17 ` roland at gnu dot org
@ 2005-10-15  0:44 ` drepper at redhat dot com
  2007-02-18  4:36 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2005-10-15  0:44 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|gotom at debian dot or dot  |roland at gnu dot org
                   |jp                          |


http://sourceware.org/bugzilla/show_bug.cgi?id=720

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libc/720] sys/kd.h doesn't clean up after #define _LINUX_TYPES_H
  2005-02-14 13:33 [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H glibc at achurch dot org
                   ` (3 preceding siblings ...)
  2005-10-15  0:44 ` drepper at redhat dot com
@ 2007-02-18  4:36 ` drepper at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: drepper at redhat dot com @ 2007-02-18  4:36 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2007-02-18 04:35 -------
The 2.3 branch is ancient.  Closing.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=720

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-18  4:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-14 13:33 [Bug libc/720] New: sys/kd.h doesn't clean up after #define _LINUX_TYPES_H glibc at achurch dot org
2005-02-14 13:34 ` [Bug libc/720] " glibc at achurch dot org
2005-02-15  0:17 ` cvs-commit at gcc dot gnu dot org
2005-02-15  0:17 ` roland at gnu dot org
2005-10-15  0:44 ` drepper at redhat dot com
2007-02-18  4:36 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).