From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118827 invoked by alias); 26 Mar 2018 15:36:10 -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 118373 invoked by uid 89); 26 Mar 2018 15:36:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*F:D*br X-HELO: mo20.mail-out.ovh.net Date: Mon, 26 Mar 2018 15:36:00 -0000 From: "Gabriel F. T. Gomes" To: Zack Weinberg CC: Subject: Re: [PATCH 4/9] Use SCANF_LDBL_IS_DBL instead of __ldbl_is_dbl. Message-ID: <20180326123559.4fd3d5d1@tereshkova> In-Reply-To: <20180307193205.4751-5-zackw@panix.com> References: <20180307193205.4751-1-zackw@panix.com> <20180307193205.4751-5-zackw@panix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EX2.emp.local (172.16.2.2) To EX3.emp.local (172.16.2.3) X-Ovh-Tracer-Id: 1398086209469075021 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtgedrvdeigdeludcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-SW-Source: 2018-03/txt/msg00551.txt.bz2 On Wed, 07 Mar 2018, Zack Weinberg wrote: >Change the callers of __vfscanf_internal and __vfwscanf_internal that >want to treat 'long double' as another name for 'double' (all of which >happen to be in sysdeps/ieee754/ldbl-opt/nldbl-compat.c) to communicate >this via the new flags argument, instead of the per-thread variable >__no_long_double and its __ldbl_is_dbl wrapper macro. The patch looks good to me > (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf) > (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf) > (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf) > (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf) > (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf) > (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf): > Call __vfscanf_internal / __vfwscanf_internal directly, passing > SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary. > Do not set __no_long_double. Normalize variable names. ~~~~~~~~ Spaces that could be converted to tabs.