From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0E1471F4B5 for ; Thu, 14 Nov 2019 17:47:30 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=r/0cquB9usYgP86k 8Fi6NhRhDfBX7Rt3njg3QsjvalCBdrzRaXy7DPthTROB4EVwZME5UCOY2kPYZeVw WEOaYq7CWyyCzbIlun5+v7SDTNg/I7Az4cMHa6xyMo8ujLGtMTyEeyqynLt8HXnp gGpJKbfqwwcjzyhuwc2VxrqbN9c= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=12oPB1pO1xUor6mhSHG751 iPpXk=; b=Y3hzl83Opfe6daSU0HTJPe8ITQObZymE3WzWZYn/po9rQGRcvveLQ5 +fvG4OwG1Xq5G8UyN1tqNT+Y9fdJdn1kli1s/OPDwg8PL3xnUT0ariMSzTEATOwY PFdj3tzBIZR2RKFPHoci3J+Ch4WqO5Y37uNJy2mA63A34JFWB8OBg= Received: (qmail 49451 invoked by alias); 14 Nov 2019 17:47:27 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 49442 invoked by uid 89); 14 Nov 2019 17:47:27 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mx0a-001b2d01.pphosted.com Subject: Re: [PATCH v2 15/30] ldbl-128ibm-compat: Add syslog functions To: "Gabriel F. T. Gomes" , libc-alpha@sourceware.org References: <20191025153410.15405-1-gabriel@inconstante.net.br> <20191025153410.15405-16-gabriel@inconstante.net.br> From: Paul E Murphy Message-ID: <888e1f49-ed97-1941-bd28-b9d74192507e@linux.ibm.com> Date: Thu, 14 Nov 2019 11:47:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.0 MIME-Version: 1.0 In-Reply-To: <20191025153410.15405-16-gabriel@inconstante.net.br> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 10/25/19 10:33 AM, Gabriel F. T. Gomes wrote: > From: "Gabriel F. T. Gomes" > > Changes since v1: > > - Moved the test to a container, which stopped messages being written > to the system log. > > Comment from v1: > > I'm using 'syslog (LOG_DEBUG, etc.);' and support_capture_subprocess in > the test case, which I believe will not print to the console, but I'm > not sure if changing some system setting to high verbosity will disturb > people's lives. Please advise. :) > > -- 8< -- > Similarly to __vfprintf_internal and __vfscanf_internal, the internal > implementation of syslog functions (__vsyslog_internal) takes a > 'mode_flags' parameter used to select the format of long double > parameters. This patch adds variants of the syslog functions that set > 'mode_flags' to PRINTF_LDBL_USES_FLOAT128, thus enabling the correct > printing of long double values on powerpc64le, when long double has IEEE > binary128 format (-mabi=ieeelongdouble). > > Tested for powerpc64le. glibc has containers these days, neat. This looks OK to me and addresses the feedback from v1.