Overview
| Comment: | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Corrected resulting indexes from -indexvar option to be usable with [string range]; this was always the intention (and is consistent with [regexp -indices] too). ***POTENTIAL INCOMPATIBILITY*** Uses of [switch -regexp -indexvar] that previously compensated for the wrong offsets (by subtracting 1 from the end indices) now do not need to do so as the value is correct. |
|---|---|
| Timelines: | family | ancestors | descendants | both | core-8-5-branch | potential incompatibility |
| Files: | files | file ages | folders |
| SHA1: |
384267c2237e8abe5f8c3251d17d7ddf |
| User & Date: | dkf on 2012-05-17 16:40:38.780 |
| Other Links: | branch diff | manifest | tags |
Context
|
2012-05-21
| ||
| 16:48 | When using Tcl_SetObjLength() calls to grow and shrink the objPtr->bytes buffer, care must be taken ... check-in: 28e43f3b9c user: dgp tags: core-8-5-branch | |
|
2012-05-17
| ||
| 16:43 | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Corrected resulting indexes from -indexvar... check-in: 0fb04d2cdf user: dkf tags: trunk, potential incompatibility | |
| 16:40 | * generic/tclCmdMZ.c (Tcl_SwitchObjCmd): [Bug 3106532]: Corrected resulting indexes from -indexvar... check-in: 384267c223 user: dkf tags: core-8-5-branch, potential incompatibility | |
| 14:14 | [Bug 2964715]: fixes to globbing in safe interpreters check-in: f94f9185d7 user: dkf tags: core-8-5-branch | |
Changes
Modified ChangeLog
from [6080e4d29e]
to [b5242a2e94].
[diff]
Modified generic/tclCmdMZ.c
from [14c827f881]
to [ee438f2061].
[diff]
Modified tests/switch.test
from [568570b06e]
to [5839f2832b].
[diff]