From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x33.google.com (mail-oa1-x33.google.com [IPv6:2001:4860:4864:20::33]) by sourceware.org (Postfix) with ESMTPS id 947FC3AA9908 for ; Thu, 8 Dec 2022 17:13:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 947FC3AA9908 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-1433ef3b61fso2532018fac.10 for ; Thu, 08 Dec 2022 09:13:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=M2FBsEi1ZS2npNHNGzfUaknwGaGrVIZyNGrW7D0mego=; b=H8DX2W5OrkcH5/nYOLeCiB8TR2AEKYLqHwXub0Ak7xDhKW7L7m5NgmgnNN0DzK79Qu nTQXBxAMsMZPPsOreAedCNeUHSgUo2ZCOwJ+1XiU+9UPT2PDYxkryffs0rfQO+S6Fj82 2i3XTq7CThA6Cc/JwJy4LpbpSquPrpY24+dz5NXoBqB5srwPKV3NzGc81aQzMh3pKaO+ 9HJ6FqIpWemChuUrQilYKjZVUt4r1OhFdfkkY31ualEOj4KJZDGgy5TnGhJVBqP558Ww dF8n8oj/PG4l/Ac6y1sjHr3jV60FDP7gPCyNV+ixihGXofy6yIrVK4LRl3WJRhQITJ3d 0RGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=M2FBsEi1ZS2npNHNGzfUaknwGaGrVIZyNGrW7D0mego=; b=H18yIuhcJ3zO7NYemfI7dvn9C2bHXfMjUkMwtovU+wzwxXq4B9T7hF6sBxIQs7WWjg 5i7cFPLB24jtcxTmoz5zLytDeK1PnD/8AICJfqX4DoPjwTCr4HlbZA3ob3sTnESEmESz Sld+PsD6WzQjB6w1xzzMYllQ7l3NVqS/1ICHy3/pcv/SGJFotiyGuceeP5ozvkGFE9XY JR5Hy17dIqFRS3dpPMy1Dx+SvGkPglujxMCKmEbTZmAROYnPqx95nfYoDu5FljAGkp/9 lmReLC3sWqLRfX1GImsARQWivRfjODM+PTf14vcYF9DPL490f++bjuhek9iE5dGTwO0Y INoQ== X-Gm-Message-State: ANoB5pnX7ottL3cCYoBAETuIAv9hbXlf8ZItygbfYglpVoVoAGnoulP9 UcDV82WLrea0cNgVR2L7HzY7uw== X-Google-Smtp-Source: AA0mqf6yGc1Q7AGg2QziIb0OZmoM8buPbNODlljbJpMYXw/wM1/7HmNS09/nIRpNooBuMqob20o+Hg== X-Received: by 2002:a05:6870:7b8a:b0:143:c18b:96f6 with SMTP id jf10-20020a0568707b8a00b00143c18b96f6mr8230870oab.263.1670519583989; Thu, 08 Dec 2022 09:13:03 -0800 (PST) Received: from ?IPV6:2804:1b3:a7c2:6793:d83e:e871:6162:c8c0? ([2804:1b3:a7c2:6793:d83e:e871:6162:c8c0]) by smtp.gmail.com with ESMTPSA id j20-20020a056830271400b0066e80774203sm9456683otu.43.2022.12.08.09.13.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Dec 2022 09:13:03 -0800 (PST) Message-ID: <2af38d17-f641-d36a-b090-a3e00f8cd14e@linaro.org> Date: Thu, 8 Dec 2022 14:13:01 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v2] : Make strptime available by default Content-Language: en-US To: Florian Weimer , libc-alpha@sourceware.org References: <87cz97rv5u.fsf@oldenburg.str.redhat.com> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: <87cz97rv5u.fsf@oldenburg.str.redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 28/11/22 11:49, Florian Weimer via Libc-alpha wrote: > This matches what FreeBSD does. > LGTM, thanks. Reviewed-by: Adhemerval Zanella > --- > v2: Remove unneccesary parentheses. > time/time.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/time/time.h b/time/time.h > index d18089116e..0919e578d4 100644 > --- a/time/time.h > +++ b/time/time.h > @@ -101,7 +101,7 @@ extern size_t strftime (char *__restrict __s, size_t __maxsize, > const char *__restrict __format, > const struct tm *__restrict __tp) __THROW; > > -#ifdef __USE_XOPEN > +#if defined __USE_XOPEN || defined __USE_MISC > /* Parse S according to FORMAT and store binary time information in TP. > The return value is a pointer to the first unparsed character in S. */ > extern char *strptime (const char *__restrict __s, > > base-commit: f704192911c6c7b65a54beab3ab369fca7609a5d >