This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18468] fnmatch wmemchr namespace
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 03 Jun 2015 13:58:46 +0000
- Subject: [Bug libc/18468] fnmatch wmemchr namespace
- Auto-submitted: auto-generated
- References: <bug-18468-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18468
--- Comment #1 from cvs-commit at gcc dot gnu.org <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 aca6ea6586fb2368e6659388f55ba3d374913a86 (commit)
from 1a1a6bde63e0af0d5f2f3465ba45338e7513c4e4 (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=aca6ea6586fb2368e6659388f55ba3d374913a86
commit aca6ea6586fb2368e6659388f55ba3d374913a86
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Jun 3 13:57:40 2015 +0000
Fix fnmatch wmemchr namespace (bug 18468).
fnmatch brings in references to wmemchr, which isn't in all the
standards that contain fnmatch, resulting in linknamespace test
failures. This patch fixes this in the usual way, making wmemchr into
a weak alias for __wmemchr.
Tested for x86_64 and x86 (testsuite, and that disassembly of
installed shared libraries is unchanged by the patch).
[BZ #18468]
* wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
weak alias of __wmemchr. Use libc_hidden_weak.
* include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
* posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
instead of wmemchr.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 9 +++++++++
NEWS | 2 +-
include/wchar.h | 5 ++++-
posix/fnmatch.c | 2 +-
wcsmbs/wmemchr.c | 6 ++++--
5 files changed, 19 insertions(+), 5 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.