[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix error handling macro E

From: Samuel Thibault
Subject: Re: [PATCH] Fix error handling macro E
Date: Fri, 19 Jul 2013 09:32:53 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Fri 19 Jul 2013 08:53:53 +0200, a écrit :
> Previously the macro argument err was expanded and thus potentially
> evaluated multiple times. This is fine for simple values or pure
> functions, but not for say iohelp_create_iouser. Fix this by
> evaluating the macro argument only once.

It seems all error scenarii involved were ENOMEM, so it was not actually
harming, but better be safe than sorry indeed :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]