ICU-4355 Allow for collation binary images to work without UCA

X-SVN-Rev: 18150
This commit is contained in:
Vladimir Weinstein 2005-07-07 00:01:08 +00:00
parent 4c163f6aa3
commit e8c535592c

View File

@ -650,6 +650,7 @@ addCollation(struct SResource *result, uint32_t startline, UErrorCode *status)
{
len = ucol_cloneBinary(coll, NULL, 0, &intStatus);
data = (uint8_t *)uprv_malloc(len);
intStatus = U_ZERO_ERROR;
len = ucol_cloneBinary(coll, data, len, &intStatus);
/*data = ucol_cloneRuleData(coll, &len, &intStatus);*/