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-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.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 0A78F1F66E for ; Wed, 19 Aug 2020 23:57:44 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id DDA733861834; Wed, 19 Aug 2020 23:57:42 +0000 (GMT) Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by sourceware.org (Postfix) with ESMTPS id EA1643861823 for ; Wed, 19 Aug 2020 23:57:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EA1643861823 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: /PPm0ozWSTV7q+9c9vnfsmhNmXn/4R9VyOLFPPqCr7ZNq2ai+AdYcPwfDlTSVeZr/7Kw7Vccoz 5OMEvTakcofHJBxP5KRBQsAo40sgll1Bj+WcG1dYziWAovv61wLCgotag4rhBNcD8YlmS0x34b WAdxBOe3n/qKp/6Zb546fGod8anjEvhDgPxqhyMZ8r178xtM7z5xgnZu6ur4IgbjT3FAAqw9iJ glvPtHLWhkYxVhXccjbfYj6OcLz68kstdzv9QGQd+aK4lLCib8IurFmOOIO5GzAdK8pnxMWs2Z luY= X-IronPort-AV: E=Sophos;i="5.76,332,1592899200"; d="scan'208";a="52061311" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 19 Aug 2020 15:57:40 -0800 IronPort-SDR: JU+ALtHmVcHqci0oGbaUB6lmHBkksx0BW36NwK9GLEbxtJlSopdRvCdtrl7uW1IU2ss+nrdP3Q iN75cogeHqa9bSR+YVMRw/KK0vgSWUsB19n9v70YXE1+lKPjPODtaVUkTaQMtXW1z92xeDHQiN RUN2+1h4loext8APALGW/4/x80RQDa7cPwpez2kmJ7Bn2yaRmmYh45GwGywa38qGKy1ogv9Nkw CRtGUfG26m/bBGd3wplTLRISwSKFgitclvg0w69XJHUuePOqNAXaljG51muSrTESvT2YyzTg48 VKs= Date: Wed, 19 Aug 2020 23:57:34 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Stefan Liebler Subject: Re: [PATCH] Fix namespace violation in stdio.h and sys/stat.h if build with optimization. [BZ #26376] In-Reply-To: <20200812140356.2347692-1-stli@linux.ibm.com> Message-ID: References: <20200812140356.2347692-1-stli@linux.ibm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To SVR-IES-MBX-03.mgc.mentorg.com (139.181.222.3) 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: , Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Wed, 12 Aug 2020, Stefan Liebler via Libc-alpha wrote: > For getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked in stdio.h, > those are defined "# ifdef __USE_POSIX" instead of "#ifdef __USE_POSIX199506" > for the non-inlining declaration. See also > "Bug 20014 - stdio.h namespace for pre-threads POSIX" > (https://sourceware.org/bugzilla/show_bug.cgi?id=20014). > > For mknodat in sys/stat.h, those are defined "# ifdef __USE_ATFILE" instead of > the additional guard "# if defined __USE_MISC || defined __USE_XOPEN_EXTENDED". This patch is OK. -- Joseph S. Myers joseph@codesourcery.com