view modules/safe-alloc @ 14730:f0a9a2cd267c

fclose: preserve fflush errors Caught by gcc -Werror=unused-but-set-variable. * lib/fclose.c (rpl_fclose): Don't lose fflush errors. Reported by Jim Meyering. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Wed, 11 May 2011 11:35:06 -0600
parents af090b4101b4
children c1518e50c76f
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

configure.ac:
gl_SAFE_ALLOC

Makefile.am:

Include:
"safe-alloc.h"

License:
LGPLv2+

Maintainer:
David Lutterkort