Re: [PATCH] Fix nesting of braces

2017-04-27 Thread Mark Wielaard
On Thu, Apr 27, 2017 at 04:35:23PM +0200, Ulf Hermann wrote: > The way it was before it didn't actually test if elf_update failed, but > rather did something random. !!() is a boolean and boolean > true can be represented as anything non-0, including negative numbers. Urgh. Another good find. Than

[PATCH] Fix nesting of braces

2017-04-27 Thread Ulf Hermann
The way it was before it didn't actually test if elf_update failed, but rather did something random. !!() is a boolean and boolean true can be represented as anything non-0, including negative numbers. Signed-off-by: Ulf Hermann --- libasm/ChangeLog | 4 libasm/asm_end.c | 2 +- 2 files ch