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:
Andy Heninger 2003-08-14 22:17:47 +00:00
parent 645a156f28
commit 611a38632f

View File

@ -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);