ICU-3014 Add explicit u_init() calls to tools and tests in anticipation of static init changes
X-SVN-Rev: 12830
This commit is contained in:
parent
645a156f28
commit
611a38632f
@ -974,7 +974,7 @@ int main(int argc, char* argv[]) {
|
||||
|
||||
/* Initialize ICU */
|
||||
u_init(&status);
|
||||
if (U_FAILURE(status)) {
|
||||
if (U_FAILURE(status) && status != U_FILE_ACCESS_ERROR) {
|
||||
fprintf(stderr, "%s: can not initialize ICU. status = %s\n",
|
||||
argv[0], u_errorName(status));
|
||||
exit(1);
|
||||
|
Loading…
Reference in New Issue
Block a user