Skip to content

Commit 53c7b4f

Browse files
committed
Use "true" not "TRUE" in one ICU function call.
This was evidently missed in commit 6337865, which generally did s/TRUE/true/ everywhere. It escaped notice up to now because ICU versions before ICU 68 provided definitions of "TRUE" and "FALSE" regardless. With ICU 68, it fails to compile. Per report from Condor. Back-patch to v11 where 6337865 came in. (I've not tested v10, where this call originated, but I imagine it's fine since we defined TRUE in c.h back then.) Discussion: https://postgr.es/m/7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com
1 parent b7fc259 commit 53c7b4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/collationcmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ get_icu_language_tag(const char *localename)
464464
UErrorCode status;
465465

466466
status = U_ZERO_ERROR;
467-
uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
467+
uloc_toLanguageTag(localename, buf, sizeof(buf), true, &status);
468468
if (U_FAILURE(status))
469469
ereport(ERROR,
470470
(errmsg("could not convert locale name \"%s\" to language tag: %s",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy