From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 1830 invoked from network); 13 Oct 2021 14:58:43 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 13 Oct 2021 14:58:43 -0000 Received: (qmail 31813 invoked by uid 550); 13 Oct 2021 14:58:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 31778 invoked from network); 13 Oct 2021 14:58:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=eteau4a26zmxk2ijau6sgb3me4huyrhc; d=openwall.com.au; t=1634137109; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To; bh=Zg4IuwUvRyl0SMJT4tpFbnPrFahXjPe+EWoWFmVkCtM=; b=Gl51aN1kHZ/qA4b6Y/IEPp+fpaNKNKfoRD0BeQ5127fbDcq6p1dhMcvy50HwzBQ+ cj3JtGLBS2OQSpk9Y+ttwc/08PeYl8Z4h+jyXtJSd4YYfVJSiNpELDJ5PpXf6uV0g5E NuakX7lXlTMRIk5N9G2tqGFYrwTSRywoo2RuurVE= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1634137109; h=Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:In-Reply-To:Feedback-ID; bh=Zg4IuwUvRyl0SMJT4tpFbnPrFahXjPe+EWoWFmVkCtM=; b=hTAx08Wa2IyUp/JRkiBc+HQ5FI181oHW6803XPBZYxJ278plryUxbezcX8cLDPPp cyiZaD7er6X7LaTp+3CEOXjP4SQMjqErlnPhPkYoRFIeER0BgRyVDovRb1naaR7Ydbg U4wk5xDeeXToMtpbrnQBxMftN7TM6GiSw699gvyY= ARC-Seal:i=1; a=rsa-sha256; d=openwall.com.au; s=20180402; t=1634137108; cv=none; b=uJeXVqCKBYsbgv56zIycJdrlGeeuy308fKk7bZL3DAakxeDZQxsrOwydb/vBYM70VTYtR+39VLbWKhjtX82RPTwYEbeKVinDVyVVZ9Ndq0lwZh/8AeE9GxIHC9bywVuk7pxnK6kUd9CjZHdBJcIaiLeDto9NVRSWqLJCmKwgVn/e4YxkzgD8g+UBmyUFTQftbHMUzhym3veMUAsFCvfJF/L66jmYDVFAQ2YaJcbnNqdC79wzM17OjApkNICwAwIv07yggZrGAyvxqMz6M+NPmc7pKsfIPDC/xRQ9jIkulk5TZzn+u5UFpPp+GVP3sdx3YdKDHbe9mENiz5iwg6yctQ== ARC-Message-Signature:i=1; a=rsa-sha256; d=openwall.com.au; s=20180402; t=1634137108; c=relaxed/simple; bh=Zg4IuwUvRyl0SMJT4tpFbnPrFahXjPe+EWoWFmVkCtM=; h=From:To:Subject; b=m8tV6VKQPb486jFvXngKkssm98eQ8o1XkPvjbkP1BBPTlFKF+o0Av3kGzN0InQAuHxN6Bdd1tZG5rvET0YoycalN8BXhEmCMr4QsSKiaxJ6flRlEoYjY4b5yOeSYbVVw9WZKS9Z1E5h0b7KG0OrDxpkSvyAEMtek/ZW4Etnm9ReFd+vmeBtYpwK8Dvm6kEzfwLsqQFz5tg42+HpkjSBoPUrmIQ5MhBJuAN28Kyk+S21HtdYeWMPHBf+1PLNbub4+jWbSY8Ti5HeLQ/IH9pFwtMEzPwTtt3ZhxTQmcNiKf69GX4RXNKKV0HabC9i5/LDWE/6RlsNecXsPqdi2LLzNTg== ARC-Authentication-Results:i=1; mail.openwall.com.au; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openwall.com.au; s=20180402; t=1634137108; bh=Zg4IuwUvRyl0SMJT4tpFbnPrFahXjPe+EWoWFmVkCtM=; h=From:To:Subject:From; b=SgZzcoBK5g4KVIUzOlZiv7hRbt9alLI/B263d841Xmmv4+jKSpyOratubydIX++zo AUUAGoCyGdGNlLk79QSLgV6gDjQmmj+UV9DOMX7LNjnTnb1fAnvSveNCV6pTLTcI1T jqOLkTrgO4tCUoZRtZ4eh7SwVmCSoQxg0XOMwQQe4sTS1xGoTE13Bajq6qpwVTRN/R 01q4r5/thM6XpdhhumfGydtoQGrYfAmpK1EJO6a7I/7acDfq34isRMp5P1niJHBTVz H44Z+Dg18k4w3hLxnqRIw1YnjQnC0Aw86hP/bekUM5fw7SZxl1Dkl8Fix5+LcJTfJp bgQMZ9YGl2WUQ== Date: Wed, 13 Oct 2021 14:58:28 +0000 From: "(GalaxyMaster)" To: musl@lists.openwall.com Message-ID: <0100017c7a29718f-5aa87cdb-91f9-4d63-9a4f-92b3ca389d04-000000@email.amazonses.com> References: <0100017c79f9d219-86b8d3e7-358a-473c-9736-befc0678d7c7-000000@email.amazonses.com> <489DD265-FBD7-4B1D-966C-46A397B337B8@shiz.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <489DD265-FBD7-4B1D-966C-46A397B337B8@shiz.me> User-Agent: Mutt/1.5.21 (2010-09-15) Feedback-ID: 1.us-east-1.Br0WpcLm0XzNPYp+t39aA5qSwb/HYCx3zC5wkQY3G2s=:AmazonSES X-SES-Outgoing: 2021.10.13-54.240.8.81 Subject: Re: [musl] 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: > https://pubs.opengroup.org/onlinepubs/9699919799/ Bookmarked, thanks! > From https://pubs.opengroup.org/onlinepubs/9699919799/functions/strtol.html: > > These functions shall fail if: > > [EINVAL] > [CX] The value of base is not supported. > [ERANGE] > The value to be returned is not representable. > These functions may fail if: > > [EINVAL] > 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! -- (GM)