pacman/src
Allan McRae 28c662e7a4 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>
2010-09-27 16:06:51 +10:00
..
pacman Add wrapper around asprintf calls 2010-09-27 16:06:51 +10:00
util Clarify testing within conditional statements 2010-06-21 01:04:58 +10:00