FreeBSD Bugzilla – Attachment 176908 Details for
Bug 214384
devel/icu: update to 58.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
test case
test-ucol-list.c (text/plain), 553 bytes, created by
Jan Beich
on 2016-11-11 23:52:47 UTC
(
hide
)
Description:
test case
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2016-11-11 23:52:47 UTC
Size:
553 bytes
patch
obsolete
>#include <unicode/ucol.h> >#include <err.h> > >int main() >{ > UErrorCode status = U_ZERO_ERROR; > > UEnumeration* values = > ucol_getKeywordValuesForLocale("co", "C", FALSE, &status); > if (U_FAILURE(status)) > err(1, "ucol_getKeywordValuesForLocale"); > > int32_t count = uenum_count(values, &status); > if (U_FAILURE(status)) > err(1, "uenum_count"); > > for (int i = 0; i < count; i++) { > const char* collation = uenum_next(values, NULL, &status); > if (U_FAILURE(status)) > err(1, "uenum_next"); > warnx("%s", collation); > } > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 214384
:
176851
|
176860
|
176894
|
176905
|
176906
|
176908
|
176909
|
176973