view modules/malloc-gnu @ 13837:d7a891a411c1

strtod: work around icc bug With optimization, ICC 10.0 mis-compiles 'cond ? -val : val' such that a val of 0.0 doesn't result in -0.0. * lib/strtod.c (minus_zero): Define to working value. (strtod): Use it to avoid icc bug. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 05 Nov 2010 08:30:27 -0600
parents fc6aba4c5936
children 34c3292ae98c
line wrap: on
line source

Description:
malloc() function that is glibc compatible.

Comment:
This module should not be used as a dependency from a test module,
otherwise when this module occurs as a tests-related module, it will
have side effects on the compilation of the main modules in lib/.

Files:
lib/malloc.c

Depends-on:
malloc-posix

configure.ac:
gl_FUNC_MALLOC_GNU
gl_MODULE_INDICATOR([malloc-gnu])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
Jim Meyering