From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39402 invoked by alias); 5 Jun 2015 20:06:00 -0000 Mailing-List: contact glibc-bugs-regex-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-regex-owner@sourceware.org Received: (qmail 39241 invoked by uid 55); 5 Jun 2015 20:05:56 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs-regex@sourceware.org Subject: [Bug regex/18495] regcomp wctype namespace Date: Fri, 05 Jun 2015 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00001.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18495 --- Comment #1 from cvs-commit at gcc dot gnu.org --- This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GNU C Library master sources". The branch, master has been updated via 9dd6b7799a0b04034f2d2266845c64a309b015a3 (commit) from a330baa05bf827b67a6391721fa3ab2f72f1f4dc (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9dd6b7799a0b04034f2d2266845c64a309b015a3 commit 9dd6b7799a0b04034f2d2266845c64a309b015a3 Author: Joseph Myers Date: Fri Jun 5 20:04:47 2015 +0000 Fix regex wctype namespace (bug 18495). regcomp brings in references to various wctype functions that aren't in all the standards including regcomp. This patch fixes this in the usual way by using the __* versions of these functions (which already exist, but some didn't have libc_hidden_proto / libc_hidden_def before). Tested for x86_64 and x86 (testsuite, and that installed stripped shared libraries are unchanged by the patch). (Other wide character function references from the regex code mean that this patch by itself doesn't fix any XFAILed linknamespace test failures; further patches will be needed for that.) [BZ #18495] * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def. (__iswlower): Likewise. * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto. (__iswlower): Likewise. * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower instead of towlower. * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower instead of iswlower. Call __towupper instead of towupper. * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum instead of iswalnum. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 14 ++++++++++++++ NEWS | 2 +- include/wctype.h | 4 ++++ posix/regcomp.c | 4 ++-- posix/regex_internal.c | 8 ++++---- posix/regex_internal.h | 2 +- wctype/wcfuncs.c | 2 ++ 7 files changed, 28 insertions(+), 8 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.