From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4253 invoked by alias); 23 Aug 2005 20:17:48 -0000 Mailing-List: contact glibc-bugs-regex-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sources.redhat.com Received: (qmail 4223 invoked by uid 48); 23 Aug 2005 20:17:44 -0000 Date: Tue, 23 Aug 2005 20:17:00 -0000 From: "eggert at gnu dot org" To: glibc-bugs-regex@sources.redhat.com Message-ID: <20050823201743.1233.eggert@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/1233] New: regex.h POSIX and portability problems with REG_ENOSYS X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00047.txt.bz2 List-Id: 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.