diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-06-03 13:58:58 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-06-03 13:58:58 +0000 |
commit | f014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9 (patch) | |
tree | 845ee9a11c80d7f9683c2c88eb107ac88ed5f9f2 /NEWS | |
parent | aca6ea6586fb2368e6659388f55ba3d374913a86 (diff) | |
download | glibc-f014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9.tar glibc-f014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9.tar.gz glibc-f014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9.tar.bz2 glibc-f014e87eff1c9935a8bd9f7b7ab66ff5ef562ee9.zip |
Fix fnmatch strnlen namespace (bug 18470).
fnmatch brings in references to strnlen, which isn't in all the
standards that contain fnmatch (not added until the 2008 edition of
POSIX), resulting in linknamespace test failures. (This is contrary
to glibc conventions, rather than a standards conformance issue,
because of the str* reservation.) This patch fixes this in the usual
way, using __strnlen instead of strnlen.
Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).
[BZ #18470]
* posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
strnlen.
* conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
Remove variable.
(test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
(test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
(test-xfail-POSIX/glob.h/linknamespace): Likewise.
(test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
(test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
(test-xfail-UNIX98/glob.h/linknamespace): Likewise.
(test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
(test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
(test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
(test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ Version 2.22 18047, 18049, 18068, 18080, 18093, 18100, 18104, 18110, 18111, 18116, 18125, 18128, 18138, 18185, 18196, 18197, 18206, 18210, 18211, 18217, 18220, 18221, 18234, 18244, 18247, 18287, 18319, 18333, 18346, 18397, - 18409, 18410, 18412, 18418, 18422, 18434, 18444, 18468, 18469. + 18409, 18410, 18412, 18418, 18422, 18434, 18444, 18468, 18469, 18470. * Cache information can be queried via sysconf() function on s390 e.g. with _SC_LEVEL1_ICACHE_SIZE as argument. |