[Toybox] [PATCH] microcom: move from e[x]it to [q]uit.

Rob Landley rob at landley.net
Fri Nov 3 07:46:32 PDT 2023


On 11/3/23 09:27, Rob Landley wrote:
>> and make it clear what new options
>> should look like).
> 
> I'd rather not apply the patch as is because of the above commit comment
> grumbles, but don't object to code change itself. Should I switch the -64 to &31
> while I'm there?

Because the precedence of & and | is borked for historical reasons having to do
with logical operators not being introduced until a couple years into C's
development, meaning x==']'-64 does what you expect and x==']'&31 does not
without parentheses.

That's why I did it that way, I remember now. :)

Rob


More information about the Toybox mailing list