This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [RFC][PATCH v3 01/11] Implement alternative month names (bug 10871).
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Rafal Luzynski <digitalfreak at lingonborough dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 18 Oct 2016 15:04:43 +0000
- Subject: Re: [RFC][PATCH v3 01/11] Implement alternative month names (bug 10871).
- Authentication-results: sourceware.org; auth=none
- References: <1485809619.118140.1476748649347@poczta.nazwa.pl>
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