Re: tools-powerpc: Return false instead of -1

From: Andrew Shadura
Date: Fri Sep 02 2016 - 05:54:22 EST


On 17/09/15 13:03, Peter Senna Tschudin wrote:
> Returning a negative value for a boolean function seem to have the
> undesired effect of returning true. require_paranoia_below() is a
> boolean function, but the variable used to store the return value is an
> integer, receiving -1 or 0. This patch convert rc to bool, replace -1
> by false, and 0 by true.

The issue still seems to be not fixed.

--
Cheers,
Andrew