From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10325 Path: news.gmane.org!not-for-mail From: Alexander Monakov Newsgroups: gmane.linux.lib.musl.general Subject: Re: strftime sets errno to 22 Date: Sun, 24 Jul 2016 09:59:26 +0300 (MSK) Message-ID: References: <20160724014740.GM15995@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1469343602 22525 80.91.229.3 (24 Jul 2016 07:00:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2016 07:00:02 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10338-gllmg-musl=m.gmane.org@lists.openwall.com Sun Jul 24 08:59:49 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1bRDO8-0004bz-Pt for gllmg-musl@m.gmane.org; Sun, 24 Jul 2016 08:59:48 +0200 Original-Received: (qmail 30508 invoked by uid 550); 24 Jul 2016 06:59:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30485 invoked from network); 24 Jul 2016 06:59:44 -0000 In-Reply-To: <20160724014740.GM15995@brightrain.aerifal.cx> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) Xref: news.gmane.org gmane.linux.lib.musl.general:10325 Archived-At: On Sat, 23 Jul 2016, Rich Felker wrote: > With that said, at the time this was reported on IRC I looked for the > cause of errno being set to EINVAL and didn't see it. It might be nice > to know why it's happening, just in case some unintended code paths > with nontrivial cost are getting pulled in. nsz mentioned on irc it's from strtoul call (when no digits are seen). Alexander