This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH v3 01/11] Implement alternative month names (bug 10871).


On Tue, 18 Oct 2016, Rafal Luzynski wrote:

> * conform/data/langinfo.h-data: constants ALTMON_1 .. ALTMON_12 added.

No, the conform/ data must reflect what's in the standards, not what's in 
glibc.  Since these symbols are not part of POSIX, they must not be 
included in the conform/ data.  And since these symbols are not reserved 
by POSIX, the header must only declare them at all if __USE_GNU is 
defined.  (I expect that might mean defining enum values unconditionally 
with names __ALTMON_* and then conditionally defining the macros in the 
user namespace.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]