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

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

 



On Wed, Mar 07, 2018 at 01:03:26PM +0000, Martijn Dekker wrote:
> Op 07-03-18 om 06:26 schreef Herbert Xu:
> > Martijn Dekker <martijn@xxxxxxxx> wrote:
> >>
> >>> Since base is always a constant 0 or a constant 10, never a
> >>> user-provided value, the only error that strtoimax will ever report on
> >>> glibc systems is ERANGE. Checking only ERANGE therefore preserves the
> >>> glibc behaviour, and allows the exact same set of errors to be detected
> >>> on non-glibc systems.
> >>
> >> That makes sense, thanks.
> > 
> > Could you resend your patch with this change please?
> 
> OK, see below.

Patch applied.  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