Re: [PATCH] fix "Illegal number" on FreeBSD & macOS for x=; echo $((x))

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martijn Dekker <martijn@xxxxxxxx> wrote:
> Op 06-03-18 om 14:49 schreef Martijn Dekker:
>> The original reporter, Michael Greenberg, didn't specify the bug only
>> occurs on macOS and FreeBSD but it does seem to be the same bug.
>> 
>> He submitted a different patch to fix it:
> [snip]
>> Which is better?
> 
> That other patch only fixes it for the unset case, not for the empty
> case, so I think the recent one is better.

Yes, yours is better but please resend it with the ERANGE change
as suggested.

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux