Overview
| Artifact ID: | c198807f46ffe2bb26cdbd236685be4c5f0b309e92f01f78ed56e43d8826ecbe |
|---|---|
| Ticket: | 4c591fa4875b64fe29ff0c65be3902c28424797d
[string compare] EIAS violation |
| User & Date: | dgp on 2020-04-30 19:43:19 |
Changes
- icomment:
% set one \uFFFF; tcl::unsupported::representation $one value is a pure string with a refcount of 4, object pointer at 0xe092870, string representation "" % set two \U10000; tcl::unsupported::representation $two value is a pure string with a refcount of 4, object pointer at 0xe08e8b0, string representation "𐀀" % string compare $one $two -1 % string range $one 0 0; tcl::unsupported::representation $one value is a string with a refcount of 2, object pointer at 0xe092870, internal representation 0xe0c9090:0x0, string representation "" % string range $two 0 0; tcl::unsupported::representation $two value is a string with a refcount of 2, object pointer at 0xe08e8b0, internal representation 0xd81a350:0x0, string representation "𐀀" % string compare $one $two 1 The comparison routines TclpUtfNcmp2() and (deprecated) Tcl_UniCharNcmp() do not agree.
- login: "dgp"
- mimetype: "text/plain"