This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/17574] __printf_fp wmemset namespace
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 12 Nov 2014 22:39:13 +0000
- Subject: [Bug stdio/17574] __printf_fp wmemset namespace
- Auto-submitted: auto-generated
- References: <bug-17574-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17574
--- 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 01cad84e1996a6f20bf19609d0554c73f2ee33d5 (commit)
from 939da41143341bbcdd3dd50ee7b57776603da260 (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=01cad84e1996a6f20bf19609d0554c73f2ee33d5
commit 01cad84e1996a6f20bf19609d0554c73f2ee33d5
Author: Joseph Myers <joseph@codesourcery.com>
Date: Wed Nov 12 22:38:11 2014 +0000
Fix __printf_fp wmemset namespace (bug 17574).
__printf_fp calls wmemset, but that is not an ISO C90 function. This
patch fixes it to call a new __wmemset name instead (with wmemset
being a weak alias).
Tested for x86_64 (testsuite, and that disassembly of installed shared
libraries is unchanged by the patch).
[BZ #17574]
* wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
weak alias of __wmemset. Use libc_hidden_weak.
(__wmemset): Use libc_hidden_def.
* include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
* stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
of wmemset.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 8 ++++++++
NEWS | 2 +-
include/wchar.h | 2 ++
stdio-common/printf_fp.c | 2 +-
wcsmbs/wmemset.c | 6 ++++--
5 files changed, 16 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.