public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug nptl/3436] New: pthread.h inconsistent about what is defined as a macro
@ 2006-10-31 16:50 jsm28 at gcc dot gnu dot org
  2006-10-31 16:52 ` [Bug nptl/3436] " jsm28 at gcc dot gnu dot org
  2006-10-31 17:39 ` drepper at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-10-31 16:50 UTC (permalink / raw)
  To: glibc-bugs

Some of the PTHREAD_* constants in pthread.h are defined as both enums and
macros (#define FOO FOO).  Others, apparently arbitrarily, are only defined as
enums, although POSIX makes no distinction between the two sets of constants.

I think it's most useful for all these constants to be defined as both enums and
macros; I'll attach a patch to add the missing macro definitions.

-- 
           Summary: pthread.h inconsistent about what is defined as a macro
           Product: glibc
           Version: 2.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: nptl
        AssignedTo: drepper at redhat dot com
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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] 3+ messages in thread

* [Bug nptl/3436] pthread.h inconsistent about what is defined as a macro
  2006-10-31 16:50 [Bug nptl/3436] New: pthread.h inconsistent about what is defined as a macro jsm28 at gcc dot gnu dot org
@ 2006-10-31 16:52 ` jsm28 at gcc dot gnu dot org
  2006-10-31 17:39 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2006-10-31 16:52 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jsm28 at gcc dot gnu dot org  2006-10-31 16:51 -------
Created an attachment (id=1393)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1393&action=view)
Patch to add macro definitions.


-- 


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

------- 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] 3+ messages in thread

* [Bug nptl/3436] pthread.h inconsistent about what is defined as a macro
  2006-10-31 16:50 [Bug nptl/3436] New: pthread.h inconsistent about what is defined as a macro jsm28 at gcc dot gnu dot org
  2006-10-31 16:52 ` [Bug nptl/3436] " jsm28 at gcc dot gnu dot org
@ 2006-10-31 17:39 ` drepper at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper at redhat dot com @ 2006-10-31 17:39 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2006-10-31 17:39 -------
There is no reason whatsoever to do this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


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

------- 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] 3+ messages in thread

end of thread, other threads:[~2006-10-31 17:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-31 16:50 [Bug nptl/3436] New: pthread.h inconsistent about what is defined as a macro jsm28 at gcc dot gnu dot org
2006-10-31 16:52 ` [Bug nptl/3436] " jsm28 at gcc dot gnu dot org
2006-10-31 17:39 ` 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).