Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2024-08-29
08:58
Merge [4e384191b5ce84a8]: Fix [57daa91ea]: Tcl_GetIntForIndex handling of n-m (m > n). With testcase... check-in: 531cfa9962 user: pooryorick tags: unchained, INCOMPATIBLE_LICENSE
2024-06-06
10:41 • Closed ticket [57daa91eaf]: Tcl_GetIntForIndex handling of n-m (m > n) pl... artifact: 901b8c165b user: jan.nijtmans
10:39
Fix [57daa91ea]: Tcl_GetIntForIndex handling of n-m (m > n). With testcases. check-in: 4e384191b5 user: jan.nijtmans tags: trunk, main
09:07
Fix [57daa91ea]: Tcl_GetIntForIndex handling of n-m (m > n). With testcases. check-in: 4ec93828a9 user: jan.nijtmans tags: core-8-branch
07:59 • Ticket [57daa91eaf] Tcl_GetIntForIndex handling of n-m (m > n) status sti... artifact: dadaf4cd2d user: jan.nijtmans
07:59 • New ticket [57daa91eaf]. artifact: e896c2e86c user: jan.nijtmans

Tcl_GetIntForIndex handling of n-m (m > n)

Closed / Fixed57daa91eafa92706d3d8028e673a282f439b8dc3Created 2 years agoUpdated 2 years ago
Descriptionwiki2024-06-06 07:59:27
% testgetintforindex -1 -1
-2147483648
% testgetintforindex 2-3 -1
-1

If the end parameter is -1, then INT_MIN is a special value to be used for "-1". This is not handled correctly for the n-m construct. Both commands above should give the same answer.

This is the root cause for ticket 450a726f4a in Tk

jan.nijtmans Ticket [57daa91eaf]: 3 changes [History diff]2024-06-06 07:59:43
jan.nijtmanswiki2024-06-06 10:41:31

Fixed [here]

Log in (anonymous is fine) to add a comment.