From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84451 invoked by alias); 17 Jun 2015 20:16:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 84406 invoked by uid 55); 17 Jun 2015 20:16:15 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug stdio/18542] swscanf vswscanf namespace Date: Wed, 17 Jun 2015 20:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio 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/msg00183.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18542 --- 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 45dcd79f6eb37ad4e9e6967f1d459ffc3629eb1f (commit) from eb1fae6a450b3cce5a75c1ed1a734520c56a6457 (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=45dcd79f6eb37ad4e9e6967f1d459ffc3629eb1f commit 45dcd79f6eb37ad4e9e6967f1d459ffc3629eb1f Author: Joseph Myers Date: Wed Jun 17 20:15:22 2015 +0000 Fix swscanf vswscanf namespace (bug 18542). swscanf (added in C90 Amendment 1, present in UNIX98) calls vswscanf (added in C99, not in C90 Amendment 1 or UNIX98). This patch fixes this by using __vswscanf instead and making vswscanf into a weak alias. (I intend to add conform/ test support for C90 Amendment 1 - and various other standard versions supported by glibc but not yet by conform/ tests - at some point, once the results for currently tested standards are cleaner.) Tested for x86_64 and x86 (testsuite, and that installed stripped shared libraries are unchanged by the patch). [BZ #18542] * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def. (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto. * libio/swscanf.c (__swscanf): Call __vswscanf instead of vswscanf. * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace): Remove variable. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 9 +++++++++ NEWS | 2 +- conform/Makefile | 1 - include/wchar.h | 4 ++++ libio/iovswscanf.c | 3 ++- libio/swscanf.c | 2 +- 6 files changed, 17 insertions(+), 4 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug.