From: Paul Eggert Date: Tue, 28 Apr 2026 06:16:03 +0000 (-0700) Subject: dfa: fix lib/localeinfo.c char32_t comments X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0256ff8d87ca942666eabc8e6c6737d36760923e;p=thirdparty%2Fgnulib.git dfa: fix lib/localeinfo.c char32_t comments --- diff --git a/lib/localeinfo.c b/lib/localeinfo.c index 3d1ee529a7..e9a253f13c 100644 --- a/lib/localeinfo.c +++ b/lib/localeinfo.c @@ -103,10 +103,10 @@ init_localeinfo (struct localeinfo *localeinfo) } /* The set of char32_t values C such that there's a useful locale - somewhere where C != towupper (C) && C != towlower (towupper (C)). + somewhere where C != c32toupper (C) && C != c32tolower (c32toupper (C)). For example, 0x00B5 (U+00B5 MICRO SIGN) is in this table, because - towupper (0x00B5) == 0x039C (U+039C GREEK CAPITAL LETTER MU), and - towlower (0x039C) == 0x03BC (U+03BC GREEK SMALL LETTER MU). */ + c32toupper (0x00B5) == 0x039C (U+039C GREEK CAPITAL LETTER MU), and + c32tolower (0x039C) == 0x03BC (U+03BC GREEK SMALL LETTER MU). */ static unsigned short int const lonesome_lower[] = { 0x00B5, 0x0131, 0x017F, 0x01C5, 0x01C8, 0x01CB, 0x01F2, 0x0345, @@ -119,8 +119,8 @@ static unsigned short int const lonesome_lower[] = 0x03F5, 0x1E9B, 0x1FBE, }; -/* Verify that the worst case fits. This is 1 for towupper, 1 for - towlower, and 1 for each entry in LONESOME_LOWER. */ +/* Verify that the worst case fits. This is 1 for c32toupper, 1 for + c32tolower, and 1 for each entry in LONESOME_LOWER. */ verify (1 + 1 + sizeof lonesome_lower / sizeof *lonesome_lower <= CASE_FOLDED_BUFSIZE);