From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1669649877; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0tRgeL7/TidQ+SWTrtXedZaLxMEORAJub12CeFgdjiU=; b=EMEGCWRfLVvyyctG2qLTOzT3t19B+9+1dSml7KshLlmGkCaVVX8WwAT6UEDkV6OR5wdGfD dudY108K88YGFA5feIQsQbbwhvB8fi6/Yyjc7GOwzLB3dFGzpEHv2dyfNdoFupwul47Y7Z wEtKcl7jgusafS/vPkUoFjYpgSIOkFY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1669649877; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0tRgeL7/TidQ+SWTrtXedZaLxMEORAJub12CeFgdjiU=; b=iEj9Uy1CqHQ0KCryzRuypsTluHhECfY+5RSst0XlLjb1iWNEdEzJlyi72jH95Wf8WRRvoN mk0R/K97HcZ19bDw== 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) From: Andreas Schwab 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-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 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."