diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-05-17 16:40:38 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-05-17 16:40:38 (GMT) |
commit | bf22fe16da609e4cc60fd8f5e6624a9dd8058073 (patch) | |
tree | 9189e098fb6bd51d8f37b37a01587f65375cd5b6 /unix/tclUnixInit.c | |
parent | 310fd4a3d42cf3fbc6853cc6efaef6238f272dc9 (diff) | |
download | tcl-bf22fe16da609e4cc60fd8f5e6624a9dd8058073.zip tcl-bf22fe16da609e4cc60fd8f5e6624a9dd8058073.tar.gz tcl-bf22fe16da609e4cc60fd8f5e6624a9dd8058073.tar.bz2 |
* 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.
Diffstat (limited to 'unix/tclUnixInit.c')
0 files changed, 0 insertions, 0 deletions