ICU-4084 Improve doOpenChoice performance, and make sure that tests can run against the shared data library.

X-SVN-Rev: 16448
This commit is contained in:
George Rhoten 2004-10-11 22:31:01 +00:00
parent be20a502df
commit d5efe15136

View file

@ -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 */