Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad84ecc

Browse files
committed
Use "true" not "TRUE" in one ICU function call.
This was evidently missed in commit6337865, which generally dids/TRUE/true/ everywhere. It escaped notice up to now because ICUversions 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 where6337865 came in.(I've not tested v10, where this call originated, but I imagineit's fine since we defined TRUE in c.h back then.)Discussion:https://postgr.es/m/7a6f3336165bfe3ca66abcda7966f9d0@stz-bg.com
1 parent62b50ad commitad84ecc

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
@@ -365,7 +365,7 @@ get_icu_language_tag(const char *localename)
365365
UErrorCodestatus;
366366

367367
status=U_ZERO_ERROR;
368-
uloc_toLanguageTag(localename,buf,sizeof(buf),TRUE,&status);
368+
uloc_toLanguageTag(localename,buf,sizeof(buf),true,&status);
369369
if (U_FAILURE(status))
370370
ereport(ERROR,
371371
(errmsg("could not convert locale name \"%s\" to language tag: %s",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp