Re: [chrony-dev] GCC issue

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Tue, Jan 21, 2014 at 11:25:09AM +0100, Håkan Johansson wrote:
> The second call to fclose should also be checked for errors.

Yes, that was the intent of the original commit which joined the two
calls with bitwise or. It seems a new varible is needed to do that
without breaking the sequence.

r = fprintf();
r |= fclose();
if (r) ...

-- 
Miroslav Lichvar

--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/