From efbd8572b569730fefffd469a123ca864baeae60 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 14 Aug 2020 19:51:56 +0200 Subject: strdup: Assume the function exists. * m4/strdup.m4 (gl_FUNC_STRDUP, gl_FUNC_STRDUP_POSIX): Don't test whether strdup exists. * modules/strdup (Files): Remove lib/strdup.c. (configure.ac): Don't compile strdup.c. * modules/strdup-posix (Depends-on, configure.ac): Don't test ac_cv_func_strdup. * doc/posix-functions/strdup.texi: Update. * lib/unistr/u8-strdup.c: Assume HAVE_STRDUP is 1. * modules/unistr/u8-strdup (Files): Remove lib/unistr/u-strdup.h. (Depends-on): Remove unistr/u8-strlen. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 884be61ee1..8b0f287063 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2020-08-14 Bruno Haible + + strdup: Assume the function exists. + * m4/strdup.m4 (gl_FUNC_STRDUP, gl_FUNC_STRDUP_POSIX): Don't test + whether strdup exists. + * modules/strdup (Files): Remove lib/strdup.c. + (configure.ac): Don't compile strdup.c. + * modules/strdup-posix (Depends-on, configure.ac): Don't test + ac_cv_func_strdup. + * doc/posix-functions/strdup.texi: Update. + * lib/unistr/u8-strdup.c: Assume HAVE_STRDUP is 1. + * modules/unistr/u8-strdup (Files): Remove lib/unistr/u-strdup.h. + (Depends-on): Remove unistr/u8-strlen. + 2020-08-13 Bruno Haible sys_random: Work around an uClibc bug. -- cgit v1.2.1