Overview
| Comment: | (experiment). How about making Tcl_GetIntForIndex() error-out when the index cannot be valid. E.g. "end+2" can never be a valid index (even though Tcl used to be silent on this). |
|---|---|
| Timelines: | family | ancestors | descendants | both | strict-index-2 |
| Files: | files | file ages | folders |
| SHA3-256: |
66c472a68cc4ba16d261840da208a643 |
| User & Date: | jan.nijtmans on 2020-02-28 16:07:57.718 |
| Other Links: | branch diff | manifest | tags |
Context
|
2020-02-29
| ||
| 21:10 | Fix test-cases (different error-message only) check-in: a6fd474a72 user: jan.nijtmans tags: strict-index-2 | |
|
2020-02-28
| ||
| 16:07 | (experiment). How about making Tcl_GetIntForIndex() error-out when the index cannot be valid. E.g. "... check-in: 66c472a68c user: jan.nijtmans tags: strict-index-2 | |
| 14:23 | Minor TIP #562 fix: Missing #endif, results in (harmless) compiler warning when compiling with -DTCL... check-in: a652425f5d user: jan.nijtmans tags: core-8-branch | |
Changes
Modified generic/tclCmdIL.c
from [680b864c55]
to [6a58094289].
[diff]
Modified generic/tclInt.h
from [4d4a7d3c9b]
to [6abfc77f77].
[diff]
Modified generic/tclListObj.c
from [6a464f775b]
to [b28f95eb3f].
[diff]
Modified generic/tclUtil.c
from [fd5b3abf8a]
to [36fba69c12].
[diff]
Modified tests/assemble.test
from [f41cdbea3b]
to [fe0e9cd37c].
[diff]
Modified tests/cmdIL.test
from [451f11047b]
to [5794964b8b].
[diff]
Modified tests/lset.test
from [6db50c7806]
to [dcc8c1b682].
[diff]