From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 114959 invoked by alias); 13 Dec 2019 21:13:42 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 114948 invoked by uid 89); 13 Dec 2019 21:13:42 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=H*F:D*br X-HELO: smtpout1.mo803.mail-out.ovh.net Date: Fri, 13 Dec 2019 21:13:00 -0000 From: "Gabriel F. T. Gomes" To: Paul E Murphy CC: Subject: Re: [PATCH v3 02/11] ldbl-128ibm-compat: Add ISO C99 versions of scanf functions Message-ID: <20191213181322.53f9cf17@tereshkova> In-Reply-To: <924787d8-daa3-aca6-c042-908f5b1c4a22@linux.ibm.com> References: <20191203170540.18428-1-gabriel@inconstante.net.br> <20191203170540.18428-3-gabriel@inconstante.net.br> <924787d8-daa3-aca6-c042-908f5b1c4a22@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 18375249431270837816 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrudelledgudegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpeffhffvuffkjghfofggtgfgihesthejredtredtvdenucfhrhhomhepfdfirggsrhhivghlucfhrdcuvfdrucfiohhmvghsfdcuoehgrggsrhhivghlsehinhgtohhnshhtrghnthgvrdhnvghtrdgsrheqnecukfhppedtrddtrddtrddtpddujeelrddukedvrdduhedurdekkeenucfrrghrrghmpehmohguvgepshhmthhpqdhouhhtpdhhvghlohepgfgigedrvghmphdrlhhotggrlhdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepghgrsghrihgvlhesihhntghonhhsthgrnhhtvgdrvghtihdrsghrpdhrtghpthhtoheplhhisggtqdgrlhhphhgrsehsohhurhgtvgifrghrvgdrohhrghenucevlhhushhtvghrufhiiigvpedt X-SW-Source: 2019-12/txt/msg00507.txt.bz2 On Mon, 09 Dec 2019, Paul E Murphy wrote: >On 12/3/19 11:05 AM, Gabriel F. T. Gomes wrote: >> From: "Gabriel F. T. Gomes" >> >> + /* For ISO C99, scan the single-precision value with "%as" to test >> + that __isoc99_*scanf ignores the 's'. For DEPRECATED_SCANF, do not >> + use "%as", because that would try to scan a string and allocate >> + space for it. */ >> +#if __GLIBC_USE (DEPRECATED_SCANF) >> +# define FMT "%La %a" >> +#else >> +# define FMT "%La %as" >> +#endif > >That does simplify the patch nicely. LGTM. Thanks, this and the preceding patch are now committed.