aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2019-08-13 11:27:06 +0000
committerJoseph Myers <joseph@codesourcery.com>2019-08-13 11:27:06 +0000
commita8c2fa984a42b43be06898a09a59a660131f91cd (patch)
tree9531479b04c17b57030b04b3efc71575b14f9ffb /ChangeLog
parent777d75fbc07b98115f4868c3290eb8a5d1f3a5b2 (diff)
downloadglibc-a8c2fa984a42b43be06898a09a59a660131f91cd.zip
glibc-a8c2fa984a42b43be06898a09a59a660131f91cd.tar.gz
glibc-a8c2fa984a42b43be06898a09a59a660131f91cd.tar.bz2
Declare memccpy, strdup, strndup for C2X.
C2X adds the memccpy, strdup and strndup functions. This patch duly adds __GLIBC_USE (ISOC2X) to the conditions under which <string.h> declares them. Tested for x86_64. * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)]. (strdup): Likewise. (strndup): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9263294..7bf0821 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2019-08-13 Joseph Myers <joseph@codesourcery.com>
+ * string/string.h (memccpy): Also declare if [__GLIBC_USE (ISOC2X)].
+ (strdup): Likewise.
+ (strndup): Likewise.
+
* include/features.h (_ISOC2X_SOURCE): New feature test macro.
Undefine and define to 1 if [_GNU_SOURCE].
(__GLIBC_USE_ISOC2X): New macro. Undefine and redefine depending