From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24534 invoked by alias); 23 May 2017 06:30:55 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 18475 invoked by uid 89); 23 May 2017 06:30:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=defend, HX-Greylist:Tue X-HELO: mx1.redhat.com DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com ECC523DEEB Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx05.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=fweimer@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com ECC523DEEB Subject: Re: Ping Re: Fix more namespace issues in sys/ucontext.h (bug 21457) References: Cc: libc-alpha@sourceware.org, "Joseph S. Myers" To: GNU C Library From: Florian Weimer Message-ID: <3b9dc796-5bdf-f3ce-92a0-a3558b00e152@redhat.com> Date: Tue, 23 May 2017 06:30:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-05/txt/msg00685.txt.bz2 On 05/23/2017 12:54 AM, Zack Weinberg wrote: > So I'm OK with __ versions of NGREG, NFPREG, etc, but is it really > necessary to mangle structure field names? Is it just to defend > against user definitions of those identifiers as preprocessor macros, I think this is sufficient reason to do it, unfortunately. > or is there a more likely-to-happen-in-real-code reason, given the > general tendency to avoid object-like macros nowadays? I don't think that tendency exists. Maybe for some projects, but not for glibc's upstreams (standards). Thanks, Florian