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: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, PDS_RDNS_DYNAMIC_FP,RCVD_IN_DNSWL_HI,RDNS_DYNAMIC,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0C5CD1F4C1 for ; Mon, 28 Nov 2022 15:38:18 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="IEquoH7j"; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C976E3852C70 for ; Mon, 28 Nov 2022 15:38:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C976E3852C70 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669649897; bh=0tRgeL7/TidQ+SWTrtXedZaLxMEORAJub12CeFgdjiU=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=IEquoH7juyyIa2v+ewe5QT3pBhfmrdK6M/jLWVUtFbeaXQDPfebhno9MMMhzrxRhv Byxqd8WQZ5rpu+JAl0+t5YsNjrY2TOjtvU24qQBKvG7lFbd/u+w0BGyI5hZSHojjR0 Ilwy7jDi8qlvee1c6PeAUMYev2txV25tnJP/Kxqg= Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 30A8E3860744 for ; Mon, 28 Nov 2022 15:37:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 30A8E3860744 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 6F7EB21BA5; Mon, 28 Nov 2022 15:37:57 +0000 (UTC) Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 6AD8B2C141; Mon, 28 Nov 2022 15:37:57 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 2248544002E; Mon, 28 Nov 2022 16:37:56 +0100 (CET) To: Florian Weimer Cc: Florian Weimer via Libc-alpha Subject: Re: [PATCH] : Make strptime available by default References: <87lenvrzey.fsf@oldenburg.str.redhat.com> <878rjvrv1n.fsf@oldenburg.str.redhat.com> X-Yow: Does someone from PEORIA have a SHORTER ATTENTION span than me? Date: Mon, 28 Nov 2022 16:37:56 +0100 In-Reply-To: <878rjvrv1n.fsf@oldenburg.str.redhat.com> (Florian Weimer's message of "Mon, 28 Nov 2022 15:52:04 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andreas Schwab via Libc-alpha Reply-To: Andreas Schwab Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Nov 28 2022, Florian Weimer wrote: > * Andreas Schwab: > >> On Nov 28 2022, Florian Weimer via Libc-alpha wrote: >> >>> This matches what FreeBSD does. >> >> Does it? What I see is that the strptime declaration is conditional on >> __XSI_VISIBLE, which is their equivalent of __USE_XOPEN, I think. > > Clang without any special flags defines __XSI_VISBLE to 700 on FreeBSD > 13.1 at least, which is why the declaration is visible by default. defines this by default: #else /* Default environment: show everything. */ #define __POSIX_VISIBLE 200809 #define __XSI_VISIBLE 700 #define __BSD_VISIBLE 1 #define __ISO_C_VISIBLE 2011 #define __EXT1_VISIBLE 1 #endif -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."