aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-05-22 17:09:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-05-22 17:09:36 +0000
commitcf06a4e3579d834c3330184c4ff127c98bc00fcc (patch)
tree8021cc34ee92db51ed9075a719e517a0a79458b3 /NEWS
parent7348824c39c45d401f62f724ecad4e3479180578 (diff)
downloadglibc-cf06a4e3579d834c3330184c4ff127c98bc00fcc.zip
glibc-cf06a4e3579d834c3330184c4ff127c98bc00fcc.tar.gz
glibc-cf06a4e3579d834c3330184c4ff127c98bc00fcc.tar.bz2
Fix pathconf basename namespace (bug 18444).
pathconf (sysdeps/unix/sysv/linux/pathconf.c) uses basename. But pathconf is in POSIX back to 1990 while basename is only reserved with external linkage in those standards including XPG functions. This patch fixes this namespace issue in the usual way, renaming basename to __basename and making it into a weak alias. Tested for x86_64 and x86 (testsuite, and that disassembly of installed shared libraries is unchanged by the patch). [BZ #18444] * string/basename.c (basename): Rename to __basename and define as weak alias of __basename. Use libc_hidden_weak. * include/string.h (__basename): Declare. Use libc_hidden_proto. * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call __basename instead of basename. * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace): Remove variable. (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 324f437..56aa6d7 100644
--- a/NEWS
+++ b/NEWS
@@ -18,7 +18,7 @@ Version 2.22
18030, 18032, 18036, 18038, 18039, 18042, 18043, 18046, 18047, 18049,
18068, 18080, 18093, 18100, 18104, 18110, 18111, 18125, 18128, 18138,
18185, 18196, 18197, 18206, 18210, 18211, 18217, 18220, 18221, 18244,
- 18247, 18287, 18319, 18333, 18346, 18397, 18409, 18418, 18434.
+ 18247, 18287, 18319, 18333, 18346, 18397, 18409, 18418, 18434, 18444.
* Cache information can be queried via sysconf() function on s390 e.g. with
_SC_LEVEL1_ICACHE_SIZE as argument.