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=-4.8 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, 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 091491F66E for ; Thu, 20 Aug 2020 08:57:07 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 06AA23861810; Thu, 20 Aug 2020 08:57:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06AA23861810 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1597913826; bh=6IC/Aym1yvMcR2/9LC/uAAJ46kqJ3VFaCh5WA/ojYRY=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=xVyT/SIvNoKt5seUCItZSa7geElN9Gj3bZ55m0cqMDM6a1on7Ye8cJaH7mT/gJkqt AD7iWgWTMx5DuhXGi0nLcwyRMJcPOpJxOMA3SjUpQnqUXBFmkhdr6K477daUBtqRXH LtA7gR8rWxFrQxrirwea29mXbDv6KTxuBcRxtGHY= Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id BADF6385EC54 for ; Thu, 20 Aug 2020 08:57:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BADF6385EC54 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07K8Wx1m129253; Thu, 20 Aug 2020 04:57:01 -0400 Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 3314mwdp64-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Aug 2020 04:57:01 -0400 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 07K8uFNL004294; Thu, 20 Aug 2020 08:57:00 GMT Received: from b06avi18626390.portsmouth.uk.ibm.com (b06avi18626390.portsmouth.uk.ibm.com [9.149.26.192]) by ppma04fra.de.ibm.com with ESMTP id 3304ujssbd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 20 Aug 2020 08:56:59 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 07K8tSl363111608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 20 Aug 2020 08:55:28 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A2DA74C040; Thu, 20 Aug 2020 08:56:57 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7EF3C4C046; Thu, 20 Aug 2020 08:56:57 +0000 (GMT) Received: from oc4452167425.ibm.com (unknown [9.145.160.14]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 20 Aug 2020 08:56:57 +0000 (GMT) Subject: Re: [PATCH] Fix namespace violation in stdio.h and sys/stat.h if build with optimization. [BZ #26376] To: Joseph Myers References: <20200812140356.2347692-1-stli@linux.ibm.com> Message-ID: <378dd036-262d-20e4-75a1-5c3109c06666@linux.ibm.com> Date: Thu, 20 Aug 2020 10:56:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687 definitions=2020-08-20_02:2020-08-19, 2020-08-20 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 adultscore=0 impostorscore=0 phishscore=0 bulkscore=0 malwarescore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 clxscore=1015 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008200074 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: Stefan Liebler via Libc-alpha Reply-To: Stefan Liebler Cc: libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On 8/20/20 1:57 AM, Joseph Myers wrote: > 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. > Committed the patch and resolved the bugzilla. Thanks. Stefan