Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 13 Oct 2021 14:58:28 +0000
From: "(GalaxyMaster)" <>
Subject: Re: strtoll() incompatibility

On Wed, Oct 13, 2021 at 04:22:22PM +0200, Shiz wrote:
> No need to register, you can view the standard online here:

Bookmarked, thanks!

> From
> These functions shall fail if:
>   [CX] The value of base is not supported. 
>   The value to be returned is not representable.
>   These functions may fail if:
>   No conversion could be performed.

OK, if I read it correctly, that particular page is a bit confusing.  In
"RETURN VALUE", it says that both conditions for returning EINVAL are optional
extensions to the standard (this denoted by the CX link with arrows around both
sentences mentioning EINVAL, but in "ERRORS" only the base value error is
surrounded by that optional extension arrows. :-/

In any case, this is good enough for me to fix the application rather than
making a patch to musl :).  Thank you for your time and links!


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.