public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/17574] New: __printf_fp wmemset namespace
@ 2014-11-10 16:16 jsm28 at gcc dot gnu.org
2014-11-12 22:39 ` [Bug stdio/17574] " cvs-commit at gcc dot gnu.org
2014-11-12 22:52 ` jsm28 at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-11-10 16:16 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17574
Bug ID: 17574
Summary: __printf_fp wmemset namespace
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: stdio
Assignee: unassigned at sourceware dot org
Reporter: jsm28 at gcc dot gnu.org
__printf_fp calls wmemset, but that is not an ISO C90 function, so a name such
as __wmemset (with wmemset being a weak alias) should be used instead.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug stdio/17574] __printf_fp wmemset namespace
2014-11-10 16:16 [Bug stdio/17574] New: __printf_fp wmemset namespace jsm28 at gcc dot gnu.org
@ 2014-11-12 22:39 ` cvs-commit at gcc dot gnu.org
2014-11-12 22:52 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2014-11-12 22:39 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug stdio/17574] __printf_fp wmemset namespace
2014-11-10 16:16 [Bug stdio/17574] New: __printf_fp wmemset namespace jsm28 at gcc dot gnu.org
2014-11-12 22:39 ` [Bug stdio/17574] " cvs-commit at gcc dot gnu.org
@ 2014-11-12 22:52 ` jsm28 at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2014-11-12 22:52 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=17574
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.21.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-12 22:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 16:16 [Bug stdio/17574] New: __printf_fp wmemset namespace jsm28 at gcc dot gnu.org
2014-11-12 22:39 ` [Bug stdio/17574] " cvs-commit at gcc dot gnu.org
2014-11-12 22:52 ` jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).