[oe-commits] [openembedded-core] 12/28: site: musl and glibc have glibc compatible calloc()
git at git.openembedded.org
git at git.openembedded.org
Fri Jan 10 23:48:28 UTC 2020
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 03ff1a12b039ddd9ae20784d6af2683ad5003376
Author: André Draszik <git at andred.net>
AuthorDate: Fri Jan 10 16:52:50 2020 +0000
site: musl and glibc have glibc compatible calloc()
calloc (N, S) returns non-NULL when N*S is zero,
and returns NULL when N*S overflows.
Signed-off-by: André Draszik <git at andred.net>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/site/common-glibc | 1 +
meta/site/common-musl | 1 +
2 files changed, 2 insertions(+)
diff --git a/meta/site/common-glibc b/meta/site/common-glibc
index 0bcaea2..baab03c 100644
--- a/meta/site/common-glibc
+++ b/meta/site/common-glibc
@@ -1,5 +1,6 @@
# general
ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=yes}
+ac_cv_func_calloc_0_nonnull=${ac_cv_func_calloc_0_nonnull=yes}
ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes}
ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes}
diff --git a/meta/site/common-musl b/meta/site/common-musl
index bbf2f9c..d8ff443 100644
--- a/meta/site/common-musl
+++ b/meta/site/common-musl
@@ -1,5 +1,6 @@
# general
ac_cv_have_decl_sys_siglist=${ac_cv_have_decl_sys_siglist=no}
+ac_cv_func_calloc_0_nonnull=${ac_cv_func_calloc_0_nonnull=yes}
ac_cv_func_realloc_works=${ac_cv_func_realloc_works=yes}
ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list