On Wed, Jan 08, 2020 at 04:52:36PM +0000, Andr? Draszik wrote:
On Wed, 2020-01-08 at 16:18 +0000, Ross Burton wrote:The jm_cv_func_working_malloc test is:On 08/01/2020 16:15, Andr? Draszik wrote:That's musl specific, because it's a property of the C-library in use.+CACHED_CONFIGUREVARS_libc-musl = "\Why is this musl-specific? Does the configure explicitly detect glibc
exit (malloc (0) ? 0 : 1);
The C standard says that this is implementation defined,
both results are permitted.
glibc has the same behaviour forever,
musl switched to the glibc behaviour a few years ago.