[ROOT-8116] TText::Copy utterly broken in all cases Created: 13/Apr/16 Updated: 14/Apr/16 Resolved: 14/Apr/16
|Affects Version/s:||5.34/36, 6.06/02|
|Fix Version/s:||6.08/00, 5.34/38|
|Reporter:||Oliver Freyermuth||Assignee:||Olivier Couet|
Gentoo Linux x86_64
TText::Copy (and subsequently, the copy constructor, and all copy constructors of inheriting classes, such as TLatex) are utterly broken.
For that reason, TText::Copy fails for both the case of a text with wchar and with normal char.
I attach an example, with makefile, illustrating the issue for both cases.
I also have a patch which survives the testcase which I sent as PR - I'll add the PR-number + link in a comment soon.
It would be nice if this bugfix could be applied to the ROOT 5 base, too.
|Comment by Oliver Freyermuth [ 13/Apr/16 ]|
The corresponding PR is #160 :
|Comment by Olivier Couet [ 14/Apr/16 ]|