ICU-2474 Fix for z/OS

X-SVN-Rev: 10211
This commit is contained in:
George Rhoten 2002-11-08 19:38:21 +00:00
parent 9b74d3f1fc
commit 6afcceee3f

View File

@ -22,6 +22,7 @@
#include "unicode/ustring.h"
#include "cstring.h"
#include "cmemory.h"
#include "ustr_imp.h"
#define LENGTHOF(array) (sizeof(array)/sizeof((array)[0]))
@ -374,10 +375,12 @@ static void TestConvert()
}
err=U_ZERO_ERROR;
free(target);
ucnv_flushCache();
}
}
ucnv_close(u_getDefaultConverter(&err)); /* Just in case the default converter was one of the previously opened converters */
ucnv_flushCache();
/*Testing ucnv_open()*/
/* Note: These converters have been chosen because they do NOT
encode the Latin characters (U+0041, ...), and therefore are