Reported by Grisha Levit <grishalevit@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00002.html>.
* lib/localename-unsafe.c (langtag_entry): Adjust array dimensions of
elements.
+2025-10-03 Bruno Haible <bruno@clisp.org>
+
+ localename-unsafe: Fix handling of yue-Hans locale on macOS.
+ Reported by Grisha Levit <grishalevit@gmail.com> in
+ <https://lists.gnu.org/archive/html/bug-gnulib/2025-10/msg00002.html>.
+ * lib/localename-unsafe.c (langtag_entry): Adjust array dimensions of
+ elements.
+
2025-10-03 Bruno Haible <bruno@clisp.org>
unimetadata/base: Add tests.
/* Convert new-style locale names with language tags (ISO 639 and ISO 15924)
to Unix (ISO 639 and ISO 3166) names. */
- typedef struct { const char langtag[7+1]; const char unixy[12+1]; }
+ typedef struct { const char langtag[8+1]; const char unixy[5+1]; }
langtag_entry;
static const langtag_entry langtag_table[] = {
/* Mac OS X has "az-Arab", "az-Cyrl", "az-Latn".