public inbox for glibc-bugs-regex@sourceware.org
help / color / mirror / Atom feed
* [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS
@ 2005-08-23 20:17 eggert at gnu dot org
  2005-08-23 20:18 ` [Bug regex/1233] " eggert at gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: eggert at gnu dot org @ 2005-08-23 20:17 UTC (permalink / raw)
  To: glibc-bugs-regex

regex.h defines REG_ENOSYS only if _XOPEN_SOURCE is defined.  However,
since 2001 POSIX has also required REG_ENOSYS, even if _XOPEN_SOURCE
is not defined.

Also, there is a problem with ifdeffing REG_ENOSYS out: that can cause
the containing enum type to be unsigned rather than signed, which
means that different object modules (compiled with and without
_XOPEN_SOURCE, say) might not interoperate on some platforms.

I'll attach a patch.

-- 
           Summary: regex.h POSIX and portability problems with REG_ENOSYS
           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


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

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

* [Bug regex/1233] regex.h POSIX and portability problems with REG_ENOSYS
  2005-08-23 20:17 [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS eggert at gnu dot org
@ 2005-08-23 20:18 ` eggert at gnu dot org
  2005-08-24 22:21 ` eggert at gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: eggert at gnu dot org @ 2005-08-23 20:18 UTC (permalink / raw)
  To: glibc-bugs-regex


------- Additional Comments From eggert at gnu dot org  2005-08-23 20:17 -------
Created an attachment (id=611)
 --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=611&action=view)
REG_ENOSYS patch


-- 


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

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

* [Bug regex/1233] regex.h POSIX and portability problems with REG_ENOSYS
  2005-08-23 20:17 [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS eggert at gnu dot org
  2005-08-23 20:18 ` [Bug regex/1233] " eggert at gnu dot org
@ 2005-08-24 22:21 ` eggert at gnu dot org
  2005-08-24 22:23 ` eggert at gnu dot org
  2006-04-11  7:06 ` eggert at gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: eggert at gnu dot org @ 2005-08-24 22:21 UTC (permalink / raw)
  To: glibc-bugs-regex



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |1236


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

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

* [Bug regex/1233] regex.h POSIX and portability problems with REG_ENOSYS
  2005-08-23 20:17 [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS eggert at gnu dot org
  2005-08-23 20:18 ` [Bug regex/1233] " eggert at gnu dot org
  2005-08-24 22:21 ` eggert at gnu dot org
@ 2005-08-24 22:23 ` eggert at gnu dot org
  2006-04-11  7:06 ` eggert at gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: eggert at gnu dot org @ 2005-08-24 22:23 UTC (permalink / raw)
  To: glibc-bugs-regex


------- Additional Comments From eggert at gnu dot org  2005-08-24 22:23 -------
The patch for bug 1236 fixes this problem in a better way.

*** This bug has been marked as a duplicate of 1236 ***

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


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

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

* [Bug regex/1233] regex.h POSIX and portability problems with REG_ENOSYS
  2005-08-23 20:17 [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS eggert at gnu dot org
                   ` (2 preceding siblings ...)
  2005-08-24 22:23 ` eggert at gnu dot org
@ 2006-04-11  7:06 ` eggert at gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: eggert at gnu dot org @ 2006-04-11  7:06 UTC (permalink / raw)
  To: glibc-bugs-regex



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|1236                        |


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

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

end of thread, other threads:[~2006-04-11  7:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-23 20:17 [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS eggert at gnu dot org
2005-08-23 20:18 ` [Bug regex/1233] " eggert at gnu dot org
2005-08-24 22:21 ` eggert at gnu dot org
2005-08-24 22:23 ` eggert at gnu dot org
2006-04-11  7:06 ` eggert at gnu 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).