annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11173
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
1 Description:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
2 A set of macros to make calls to alloc/calloc/realloc safer.
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
3
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
4 Files:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
5 lib/safe-alloc.h
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
6 lib/safe-alloc.c
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
7 m4/safe-alloc.m4
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
8
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
9 configure.ac:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
10 gl_SAFE_ALLOC
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
11
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
12 Makefile.am:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
13
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
14 Include:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
15 "safe-alloc.h"
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
16
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
17 License:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
18 LGPLv2+
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
19
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
20 Maintainer:
af090b4101b4 New module 'safe-alloc'.
David Lutterkort <lutter@redhat.com>
parents:
diff changeset
21 David Lutterkort