diff options
author | Jim Meyering <meyering@redhat.com> | 2009-07-02 15:39:08 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-03 00:14:52 +0200 |
commit | 447dae7df43e8a98da59d94f1aef9895e087aa13 (patch) | |
tree | ae5285a58c6297b5f2c90fc0758da9983073fe4b /Makefile.am | |
parent | d0bdef850e7bf0edc1a8ee1f05880cdf867aeeb6 (diff) | |
download | libguestfs-447dae7df43e8a98da59d94f1aef9895e087aa13.tar.gz libguestfs-447dae7df43e8a98da59d94f1aef9895e087aa13.tar.xz libguestfs-447dae7df43e8a98da59d94f1aef9895e087aa13.zip |
use safe_malloc and safe_calloc in generated code
* src/generator.ml (safe_malloc): Define to guestfs_safe_malloc.
(safe_calloc): Define to guestfs_safe_calloc.
[most generated code]: Fail immediately upon failure of otherwise-
unchecked malloc and calloc calls.
* src/guestfs.c: Include <stddef.h>.
(xalloc_oversized): Define.
* src/guestfs.h (guestfs_safe_calloc): Declare.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions