public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Make C/POSIX and C.UTF-8 consistent.
@ 2022-01-31  5:34 Carlos O'Donell
  2022-01-31  5:34 ` [PATCH 1/2] localedef: Fix handling of empty mon_decimal_point Carlos O'Donell
  2022-01-31  5:34 ` [PATCH 2/2] localedata: Adjust C.UTF-8 to align with C/POSIX Carlos O'Donell
  0 siblings, 2 replies; 15+ messages in thread
From: Carlos O'Donell @ 2022-01-31  5:34 UTC (permalink / raw)
  To: libc-alpha, fweimer, michael.hudson

We had a recent report from Michael Hudson-Doyle that he had seen a
problem with C.UTF-8 when running tests for rrdtool.  The report
prompted Florian to place this on the glibc 2.35 blocker for review.
Upon review I decided to haromize C.UTF-8 closer to C/POSIX and I
worked with Florian to fix the discrepancies between the C.UTF-8
locale and the builtin C/POSIX locale.  The work uncoverd a problem
in the parsing of LC_MONETARY by localedef which needed fixing in order
to make C/POSIX and C.UTF-8 consistent.  The first commit fixes the
mon_decimal_point handling in localedef parsing, while the second commit
fixes C.UTF-8 and adds a new test to check for consistency beween
C/POSIX and C.UTF-8.  The test is based on work that Florian Weimer did
to help me identify the inconsistencies between the locales.

Carlos O'Donell (2):
  localedef: Fix handling of empty mon_decimal_point
  localedata: Adjust C.UTF-8 to align with C/POSIX.

 locale/programs/ld-monetary.c       |   4 +-
 localedata/Makefile                 |  30 +-
 localedata/locales/C                |  22 +-
 localedata/tst-c-utf8-consistency.c | 539 ++++++++++++++++++++++++++++
 4 files changed, 579 insertions(+), 16 deletions(-)
 create mode 100644 localedata/tst-c-utf8-consistency.c

-- 
2.31.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-02-01 16:14 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31  5:34 [PATCH 0/2] Make C/POSIX and C.UTF-8 consistent Carlos O'Donell
2022-01-31  5:34 ` [PATCH 1/2] localedef: Fix handling of empty mon_decimal_point Carlos O'Donell
2022-01-31 15:26   ` Florian Weimer
2022-01-31 16:09     ` Andreas Schwab
2022-01-31 16:20       ` Florian Weimer
2022-01-31 16:30         ` Andreas Schwab
2022-01-31 16:37           ` Florian Weimer
2022-02-01 11:47   ` Florian Weimer
2022-02-01 16:00     ` Carlos O'Donell
2022-02-01 16:14       ` Carlos O'Donell
2022-01-31  5:34 ` [PATCH 2/2] localedata: Adjust C.UTF-8 to align with C/POSIX Carlos O'Donell
2022-01-31  8:47   ` Andreas Schwab
2022-01-31 16:07     ` Carlos O'Donell
2022-02-01 12:05   ` Florian Weimer
2022-02-01 16:13     ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).