public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1236] New: regex.h violates POSIX name space rules in several places
@ 2005-08-24 22:21 eggert at gnu dot org
  2005-08-24 22:21 ` [Bug regex/1236] " eggert at gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: eggert at gnu dot org @ 2005-08-24 22:21 UTC (permalink / raw)
  To: glibc-bugs-regex

I noticed quite a few violations of POSIX namespace rules in regex.h,
and wrote a patch to fix them all.  POSIX says that regex.h's extensions
must start with re_ or rm_ or end with _t, or be macros that start with
REG_.  It also says that users can undef the REG_ macros without breaking
anything.  libc regex.h violates these rules in many places.

The attached patch fixes regex.h so that it obeys the POSIX name space
rules if the appropriate feature-test macros are defined.  There is no
change in the usual case.  The ABI is not affected.

-- 
           Summary: regex.h violates POSIX name space rules in several
                    places
           Product: glibc
           Version: 2.3.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: eggert at gnu dot org
                CC: glibc-bugs-regex at sources dot redhat dot com,glibc-
                    bugs at sources dot redhat dot com
OtherBugsDependingO 1233
             nThis:


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

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

end of thread, other threads:[~2010-09-02 14:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-24 22:21 [Bug regex/1236] New: regex.h violates POSIX name space rules in several places eggert at gnu dot org
2005-08-24 22:21 ` [Bug regex/1236] " eggert at gnu dot org
2005-08-24 22:23 ` eggert at gnu dot org
2005-08-24 23:08 ` eggert at gnu dot org
2005-08-24 23:21 ` eggert at gnu dot org
2005-09-06 20:03 ` drepper at redhat dot com
2006-04-11  6:58 ` eggert at gnu dot org
2006-04-11  6:58 ` eggert at gnu dot org
2006-04-11  7:06 ` eggert at gnu dot org
2010-09-02 14:42 ` schwab at linux-m68k dot org

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).