čt 13. 2. 2020 v 13:30 odesílatel Tom Rini napsal:
>
> On Thu, Feb 13, 2020 at 08:33:09AM +0100, Michal Simek wrote:
> > pá 7. 2. 2020 v 13:07 odesílatel Michal Simek
> > napsal:
> > >
> > > Base autodetection is failing for this case:
> > > if test 257 -gt 3ae; then echo first; else echo second
On Thu, Feb 13, 2020 at 08:33:09AM +0100, Michal Simek wrote:
> pá 7. 2. 2020 v 13:07 odesílatel Michal Simek
> napsal:
> >
> > Base autodetection is failing for this case:
> > if test 257 -gt 3ae; then echo first; else echo second; fi
> >
> > It is because base for 3ae is recognized by _parse_in
pá 7. 2. 2020 v 13:07 odesílatel Michal Simek napsal:
>
> Base autodetection is failing for this case:
> if test 257 -gt 3ae; then echo first; else echo second; fi
>
> It is because base for 3ae is recognized by _parse_integer_fixup_radix() as
> 10. The patch is checking all chars to make sure tha
Base autodetection is failing for this case:
if test 257 -gt 3ae; then echo first; else echo second; fi
It is because base for 3ae is recognized by _parse_integer_fixup_radix() as
10. The patch is checking all chars to make sure that they are not 'a' or
up. If they are base needs to be in hex.
Si
4 matches
Mail list logo