From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14735 invoked by alias); 24 Aug 2005 22:21:16 -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 14662 invoked by uid 48); 24 Aug 2005 22:21:02 -0000 Date: Wed, 24 Aug 2005 22:21:00 -0000 From: "eggert at gnu dot org" To: glibc-bugs-regex@sources.redhat.com Message-ID: <20050824222100.1236.eggert@gnu.org> Reply-To: sourceware-bugzilla@sources.redhat.com Subject: [Bug regex/1236] New: regex.h violates POSIX name space rules in several places X-Bugzilla-Reason: CC X-SW-Source: 2005-08/txt/msg00050.txt.bz2 List-Id: 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.