[Toybox] [PATCH] nohup: use the same mode constant for open() and xcreate().

Rob Landley rob at landley.net
Tue Jan 31 21:42:15 PST 2023


On 1/31/23 22:57, enh wrote:
> aye, but only if you're stuck with a compiler from the 1990s... even gcc has
> warned about that for years :-P
...
>     and the warning unless it has parentheses isn't a
>     strong defense either because a&b || c also needs parentheses so they tend to
>     happen...

Thingy.

>     Otherwise they're theoretically equivalent, so changing it to be the other way
>     because it "looks wrong" otherwise... seems weird to me? It looks like it
>     couldn't be an assignment. That's the point...

I still think wanting comparison to look different from assignment isn't
inherently weird...

Rob


More information about the Toybox mailing list