[Bug regex/18442] New: re_syntax_options namespace

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug regex/18442] New: re_syntax_options namespace

maiku.fabian at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18442

            Bug ID: 18442
           Summary: re_syntax_options namespace
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: regex
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

Use of regcomp (POSIX) brings in references to re_syntax_options (non-POSIX);
re_comp (UNIX98 and older legacy) actually uses re_syntax_options (not in those
standards) rather than just being in the same .o file.  (As this is a data
symbol that users can set directly, fixing this is harder than simply using an
implementation-namespace name with a weak alias as can be done for functions.)

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug regex/18442] re_syntax_options namespace

maiku.fabian at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18442

--- 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  9d12d7652b830635528639ece2206ecf5bb9ffbf (commit)
      from  0f87de79e935b2f8bcc2b90ab750a358c26f6715 (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=9d12d7652b830635528639ece2206ecf5bb9ffbf

commit 9d12d7652b830635528639ece2206ecf5bb9ffbf
Author: Joseph Myers <[hidden email]>
Date:   Thu May 21 16:24:24 2015 +0000

    linknamespace: whitelist re_syntax_options.

    This patch adds re_syntax_options (bug 18442) to the set of symbols
    that are whitelisted in the linknamespace tests because, while the
    references to them are genuine bugs that should be fixed, the
    involvement of data symbols makes them harder to fix than most such
    bugs.

    Tested for x86_64 and x86.

        * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
        * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
        Remove variable.
        (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
        (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
        (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.

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

Summary of changes:
 ChangeLog                |    9 +++++++++
 conform/Makefile         |    4 ----
 conform/linknamespace.pl |    5 ++++-
 3 files changed, 13 insertions(+), 5 deletions(-)

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