summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-05-17 16:40:38 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-05-17 16:40:38 (GMT)
commit70e6283bef9733ca12935627fda82f732e5cabd9 (patch)
tree9189e098fb6bd51d8f37b37a01587f65375cd5b6 /ChangeLog
parenteb98b2c7785409192628ad59475e3581ca2b901b (diff)
downloadtcl-70e6283bef9733ca12935627fda82f732e5cabd9.zip
tcl-70e6283bef9733ca12935627fda82f732e5cabd9.tar.gz
tcl-70e6283bef9733ca12935627fda82f732e5cabd9.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 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5850670..6ea446c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2012-05-17 Donal K. Fellows <dkf@users.sf.net>
+ * 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.
+
* library/safe.tcl (safe::InterpInit): Ensure that the module path is
constructed in the correct order.
(safe::AliasGlob): [Bug 2964715]: More extensive handling of what