view modules/safe-alloc @ 14138:222670d93ba4

signal: work around Haiku issue with SIGBUS * lib/siglist.h: Add comment. * lib/sig2str.c (numname_table): Swap SIGBUS order, to match strsignal's favoring of SIGSEGV. * tests/test-signal.c (main): Avoid test failure. * doc/posix-headers/signal.texi (signal.h): Document the issue. Reported by Scott McCreary. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 31 Dec 2010 12:36:15 -0700
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