* lib/localeinfo.c (lonesome_lower): Omit U+03F2 in recent Unicode.
---
 ChangeLog        | 3 +++
 lib/localeinfo.c | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 3a01d72b74..3f1ddaa6f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2026-05-05  Paul Eggert  <[email protected]>
 
+       localeinfo: don’t check U+03F2 in newer glibc
+       * lib/localeinfo.c (lonesome_lower): Omit U+03F2 in recent Unicode.
+
        localeinfo: add U+1C80 through U+1C88
        * lib/localeinfo.c (lonesome_lower): Add U+1C80 through U+1C88,
        which all have this property in Unicode 17.0.0.  For example,
diff --git a/lib/localeinfo.c b/lib/localeinfo.c
index 6facd73795..5a51d6105c 100644
--- a/lib/localeinfo.c
+++ b/lib/localeinfo.c
@@ -113,9 +113,11 @@ static unsigned short int const lonesome_lower[] =
     0x00B5, 0x0131, 0x017F, 0x01C5, 0x01C8, 0x01CB, 0x01F2, 0x0345,
     0x03C2, 0x03D0, 0x03D1, 0x03D5, 0x03D6, 0x03F0, 0x03F1,
 
+#if !defined __STDC_ISO_10646__ || __STDC_ISO_10646__ < 200305L
     /* U+03F2 GREEK LUNATE SIGMA SYMBOL lacks a specific uppercase
        counterpart in locales predating Unicode 4.0.0 (April 2003).  */
     0x03F2,
+#endif
 
     0x03F5, 0x1C80, 0x1C81, 0x1C82, 0x1C83, 0x1C84, 0x1C85, 0x1C86,
     0x1C87, 0x1C88, 0x1E9B, 0x1FBE,
-- 
2.54.0


Reply via email to