From d5efe15136603e5c26ead8c57fb3f1a0474b5b26 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 11 Oct 2004 22:31:01 +0000 Subject: [PATCH] ICU-4084 Improve doOpenChoice performance, and make sure that tests can run against the shared data library. X-SVN-Rev: 16448 --- icu4c/source/common/udata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/udata.c b/icu4c/source/common/udata.c index 812be87c7e9..4f992869777 100644 --- a/icu4c/source/common/udata.c +++ b/icu4c/source/common/udata.c @@ -1254,7 +1254,7 @@ doOpenChoice(const char *path, const char *type, const char *name, dataPath = u_getDataDirectory(); /* Check to make sure that there is a dataPath to iterate over */ - if (dataPath && *dataPath) { + if ((dataPath && *dataPath) || !isICUData) { UDataPathIterator iter; /* #1a look in ind. files: package\nam.typ ========================= */ /* init path iterator for individual files */