[Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS
eggert at gnu dot org
sourceware-bugzilla@sources.redhat.com
Tue Aug 23 20:17:00 GMT 2005
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.
More information about the Glibc-bugs
mailing list