aboutsummaryrefslogtreecommitdiff
path: root/conform/linknamespace.pl
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-21 16:24:24 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-21 16:24:24 +0000
commit9d12d7652b830635528639ece2206ecf5bb9ffbf (patch)
treec07b7cd522d2af39a0e8f834a8816cdccd6c0618 /conform/linknamespace.pl
parent0f87de79e935b2f8bcc2b90ab750a358c26f6715 (diff)
downloadglibc-9d12d7652b830635528639ece2206ecf5bb9ffbf.tar
glibc-9d12d7652b830635528639ece2206ecf5bb9ffbf.tar.gz
glibc-9d12d7652b830635528639ece2206ecf5bb9ffbf.tar.bz2
glibc-9d12d7652b830635528639ece2206ecf5bb9ffbf.zip
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.
Diffstat (limited to 'conform/linknamespace.pl')
-rw-r--r--conform/linknamespace.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/conform/linknamespace.pl b/conform/linknamespace.pl
index 8ea437d457..847d2dd33a 100644
--- a/conform/linknamespace.pl
+++ b/conform/linknamespace.pl
@@ -46,9 +46,12 @@ close (STDSYMS) || die ("close $stdsyms_file: $!\n");
# linkage when stdio.h included (and possibly not then), not
# generally.
#
+# * Bug 18442: re_syntax_options wrongly brought in by regcomp and
+# used by re_comp.
+#
# * False positive: matherr only used conditionally.
#
-@whitelist = qw(signgam stdin stdout stderr matherr);
+@whitelist = qw(signgam stdin stdout stderr re_syntax_options matherr);
foreach my $sym (@whitelist) {
$stdsyms{$sym} = 1;
}