Skip to content
Tcl Source Code Check-in [a7ef066428]
Login

Check-in [a7ef066428]

Overview
Comment:Revert recent commit that changed behavior of TclGetIntForIndex() for a small subset of cases of overflow in index arithmetic. This changed the public behavior of indexes. I favor what's being done. I only want to do the complete work on a feature branch (coming soon), and consider what aspects may benefit from a TIP, and how we should future-proof the work against expanding ranges for valid index values in Tcl 9. This touches on issues partially raised in TIP 297.
Timelines: family | ancestors | descendants | both | core-8-branch
Files: files | file ages | folders
SHA3-256: a7ef0664283742818bb752bf4d32bc98e72b0949d1a169f5b306c75c7aaa4d04
User & Date: dgp on 2018-02-15 17:21:46.608
Other Links: branch diff | manifest | tags
Context
2018-02-15
18:30
merge 8.7 check-in: 03a61ed253 user: dgp tags: trunk
18:27
merge 8.7 check-in: ced3f8220a user: dgp tags: amg-string-insert
18:24
merge 8.7 check-in: fb5189741a user: dgp tags: tip-445
18:02
Distingish between boolean and int when checking whether a boolean is true or not: The internal repr... check-in: b1bcf543c8 user: jan.nijtmans tags: core-8-branch
17:24
Better range checking in "string index". Add test-case to prove point. This opens a large discussio... check-in: 3a0430c3e2 user: dgp tags: index-range-and-overflow
17:21
Revert recent commit that changed behavior of TclGetIntForIndex() for a small subset of cases of ove... check-in: a7ef066428 user: dgp tags: core-8-branch
15:58
Guarantee the buffer is large enough it will not be overrun. check-in: 6f7a5abdb8 user: dgp tags: core-8-branch
2018-02-14
20:17
Better range checking in "string index". Add test-case to prove point. check-in: 8a4df74e9a user: jan.nijtmans tags: core-8-branch
Changes