[pacman-dev] Dealing with asprintf failures

Allan McRae allan at archlinux.org
Sun Jun 27 19:15:38 EDT 2010


On 28/06/10 06:31, Andres P wrote:
> On Sun, Jun 27, 2010 at 9:22 AM, Allan McRae<allan at archlinux.org>  wrote:
>> So, any ideas on the best way to approach this?
>
> Counting 13 instances of asprintf, so voting "no" to both suggestions so far.

What does the number of asprintf's have to do with this?

Anyway, voting no does not count if you do not provide a better 
solution.  The return value of asprintf needs to be checked when 
compiling with -D_FORTIFY_SOURCE=2 which I want to use with 
--enable-debug.  So something has to be done...

Allan


More information about the pacman-dev mailing list