From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81695 invoked by alias); 6 Sep 2017 16:18:59 -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 81682 invoked by uid 89); 6 Sep 2017 16:18:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=reserved X-HELO: zimbra.cs.ucla.edu Subject: Re: [PATCH 8/9] posix: Use enum for __glob_pattern_type result To: Adhemerval Zanella , libc-alpha@sourceware.org, Gnulib bugs References: <1504643122-14874-1-git-send-email-adhemerval.zanella@linaro.org> <1504643122-14874-9-git-send-email-adhemerval.zanella@linaro.org> <018ac06d-cb0a-edb9-7de5-560f614fda80@cs.ucla.edu> From: Paul Eggert Message-ID: Date: Wed, 06 Sep 2017 16:18:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-09/txt/msg00267.txt.bz2 Adhemerval Zanella wrote: > My understanding was double underscore identifiers are reserved for implementation > (C99 7.1.3 Reserved identifiers). Yes, and that's the point. When this code is used as part of Gnulib, it is used within an application, so any identifiers it uses that start with __ might collide with the implementation, which means it's safer to avoid them when it's easy, as is the case here.