Compiled string last fails on large strings
Closed / Fixedbb69c8d17eae8c32dda57bd6de721753122c7b5fCreated 4 years agoUpdated 4 years ago
Descriptionmarkdown2023-05-02 07:43:54
string last fails on large strings when the script is compiled but not direct evaluation.
% set string string
string
% string last 0 $s
2147483640 -> wrong
% $string last 0 $s
4294967300 -> correct
Clearly an int use somewhere instead of Tcl_Size.
Referenced by1
6964e7e16aFix [bb69c8d17e] compiled string last check-in2023-05-02 08:42:21
apnadkarniplain2023-05-02 08:43:24
Fixed in [6964e7e16a].
Log in (anonymous is fine) to add a comment.