We're updating the issue view to help you get more done. 

UVector doesn't copy itself properly

Description

There is a crashing bug in UnicodeSet.
consider the code:
UnicodeSet t2;
t2.add(UnicodeString("abc"));
UnicodeSet test(t2);
UnicodeString ustrPat;
test.toPattern(ustrPat, TRUE);

It crashes! The problem is in the declaration of UTokenAssigner in UVector.h:
typedef void U_CALLCONV UTokenAssigner(UHashTok dst,
UHashTok src);

This, of course, should be
typedef void U_CALLCONV UTokenAssigner(UHashTok *dst,
UHashTok *src);

src is not that important, but if dst is not a pointer, then you can assign
stuff inside until you turn blue....

Status

Assignee

weivsara@gmail.com

Reporter

TracBot

Labels

Reviewer

None

Time Needed

None

Start date

None

Components

Fix versions

Priority

blocker