This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/18533] vsyslog namespace


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

--- 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  a97e5e25576cb5e207b1e49f1eb4e52e6354daa7 (commit)
      from  17c199ee92e4ca8a34a47c42924608a25a444eb2 (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=a97e5e25576cb5e207b1e49f1eb4e52e6354daa7

commit a97e5e25576cb5e207b1e49f1eb4e52e6354daa7
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Jun 17 20:09:35 2015 +0000

    Fix vsyslog namespace (bug 18533).

    syslog functions (in POSIX) bring in the strong symbol vsyslog (not in
    POSIX).  This patch fixes this by changing this symbol from a strong
    alias to a weak alias.

    Tested for x86_64 and x86 (testsuite, and that installed stripped
    shared libraries are unchanged by the patch).  (vsyslog becomes weak
    in the static libraries, which is what's needed; the particular macro
    sequence in use leaves it as strong in the shared libraries, hence
    those libraries being completely unchanged, but it doesn't generally
    matter whether symbols exported from the shared libraries are weak or
    strong.)

        [BZ #18533]
        * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
        not a strong alias.
        * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
        Remove variable.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    6 ++++++
 NEWS             |    3 ++-
 conform/Makefile |    1 -
 misc/syslog.c    |    2 +-
 4 files changed, 9 insertions(+), 3 deletions(-)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]