bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 8/9] posix: Use enum for __glob_pattern_type result


From: Paul Eggert
Subject: Re: [PATCH 8/9] posix: Use enum for __glob_pattern_type result
Date: Wed, 6 Sep 2017 09:18:55 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]