[LTP] [PATCH V3 05/23] guard mallocopt() with __GLIBC__

Cyril Hrubis chrubis@suse.cz
Tue Jul 26 17:44:53 CEST 2016


Hi!
> +#ifdef __GLIBC__
>  	if (never_mmap)
>  		mallopt(M_MMAP_MAX, 0);
> -
> +#else
> +	fprintf(stderr, "Platform does not support mallopt() API\n");

Shouldn't be this message printed only if (never_mmap) ?

> +#endif

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list