[PATCH 8/9] posix: Use enum for __glob_pattern_type result
Paul Eggert
eggert@cs.ucla.edu
Wed Sep 6 16:18:00 GMT 2017
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.
More information about the Libc-alpha
mailing list