view modules/safe-alloc @ 40171:fbfa1d6417d9

strtod, strtold tests: Simplify tests. * tests/test-strtod.c (main): Assume no rounding errors for 0.5. * tests/test-strtold.c (main): Likewise.
author Bruno Haible <bruno@clisp.org>
date Fri, 01 Feb 2019 02:51:20 +0100
parents 8714c1a37024
children
line wrap: on
line source

Description:
A set of macros to make calls to alloc/calloc/realloc safer.

Files:
lib/safe-alloc.h
lib/safe-alloc.c
m4/safe-alloc.m4

Depends-on:
xalloc-oversized

configure.ac:
gl_SAFE_ALLOC

Makefile.am:
lib_SOURCES += safe-alloc.c

Include:
"safe-alloc.h"

License:
LGPLv2+

Maintainer:
David Lutterkort