public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug stdio/18542] New: swscanf vswscanf
@ 2015-06-15 22:26 jsm28 at gcc dot gnu.org
  2015-06-15 22:27 ` [Bug stdio/18542] swscanf vswscanf namespace jsm28 at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-15 22:26 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18542

            Bug ID: 18542
           Summary: swscanf vswscanf
           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
  Target Milestone: ---

swscanf (added in C90 Amendment 1, present in UNIX98) calls vswscanf (added in
C99, not in C90 Amendment 1 or UNIX98).

[initial] swscanf -> [libc.a(swscanf.o)] vswscanf

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug stdio/18542] swscanf vswscanf namespace
  2015-06-15 22:26 [Bug stdio/18542] New: swscanf vswscanf jsm28 at gcc dot gnu.org
@ 2015-06-15 22:27 ` jsm28 at gcc dot gnu.org
  2015-06-17 20:16 ` cvs-commit at gcc dot gnu.org
  2015-06-17 20:25 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-15 22:27 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18542

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|swscanf vswscanf            |swscanf vswscanf namespace

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug stdio/18542] swscanf vswscanf namespace
  2015-06-15 22:26 [Bug stdio/18542] New: swscanf vswscanf jsm28 at gcc dot gnu.org
  2015-06-15 22:27 ` [Bug stdio/18542] swscanf vswscanf namespace jsm28 at gcc dot gnu.org
@ 2015-06-17 20:16 ` cvs-commit at gcc dot gnu.org
  2015-06-17 20:25 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-06-17 20:16 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18542

--- 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  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 <joseph@codesourcery.com>
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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug stdio/18542] swscanf vswscanf namespace
  2015-06-15 22:26 [Bug stdio/18542] New: swscanf vswscanf jsm28 at gcc dot gnu.org
  2015-06-15 22:27 ` [Bug stdio/18542] swscanf vswscanf namespace jsm28 at gcc dot gnu.org
  2015-06-17 20:16 ` cvs-commit at gcc dot gnu.org
@ 2015-06-17 20:25 ` jsm28 at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-17 20:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18542

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.22.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-17 20:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-15 22:26 [Bug stdio/18542] New: swscanf vswscanf jsm28 at gcc dot gnu.org
2015-06-15 22:27 ` [Bug stdio/18542] swscanf vswscanf namespace jsm28 at gcc dot gnu.org
2015-06-17 20:16 ` cvs-commit at gcc dot gnu.org
2015-06-17 20:25 ` 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).