diff options
author | Allan McRae <allan@archlinux.org> | 2010-09-27 07:30:39 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-09-27 08:06:51 +0200 |
commit | 28c662e7a422314475cca61663695dd31fd86546 (patch) | |
tree | 2c4e52060540ad31de8f6caac75ce8dc32e1342a /configure.ac | |
parent | 879fed50985e511bba153c94d133f376e8f96484 (diff) | |
download | pacman-28c662e7a422314475cca61663695dd31fd86546.tar.gz pacman-28c662e7a422314475cca61663695dd31fd86546.tar.xz |
Add wrapper around asprintf calls
Not checking the return value of asprintf calls reuslts in a warning
when using -D_FORTIRFY_SOURCE=2. This adds a simple wrapper around
asprintf calls which checks the return value.
Currently the check does nothing more than outputing a message to stderr
on failure, but that is at least an improvement over silent failures.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions