mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 13:46:54 +02:00
Use "true" not "TRUE" in one ICU function call.
This was evidently missed in commit6337865f3
, 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 where6337865f3
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
This commit is contained in:
parent
bea246117b
commit
89aa30a179
@ -444,7 +444,7 @@ get_icu_language_tag(const char *localename)
|
||||
UErrorCode status;
|
||||
|
||||
status = U_ZERO_ERROR;
|
||||
uloc_toLanguageTag(localename, buf, sizeof(buf), TRUE, &status);
|
||||
uloc_toLanguageTag(localename, buf, sizeof(buf), true, &status);
|
||||
if (U_FAILURE(status))
|
||||
ereport(ERROR,
|
||||
(errmsg("could not convert locale name \"%s\" to language tag: %s",
|
||||
|
Loading…
Reference in New Issue
Block a user