ICU-3109 memcpy sneaked back in while fixing Thai. Should be uprv_memcpy.
X-SVN-Rev: 12745
This commit is contained in:
parent
3323e93931
commit
e94bdc1dcf
@ -7135,7 +7135,7 @@ ucol_safeClone(const UCollator *coll, void *stackBuffer, int32_t * pBufferSize,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
localCollator = (UCollator *)stackBuffer;
|
localCollator = (UCollator *)stackBuffer;
|
||||||
memcpy(localCollator, coll, sizeof(UCollator));
|
uprv_memcpy(localCollator, coll, sizeof(UCollator));
|
||||||
localCollator->freeOnClose = FALSE;
|
localCollator->freeOnClose = FALSE;
|
||||||
localCollator->requestedLocale = NULL; // zero copies of pointers
|
localCollator->requestedLocale = NULL; // zero copies of pointers
|
||||||
localCollator->validLocale = NULL;
|
localCollator->validLocale = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user