diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | generic/tclCmdMZ.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2001-03-13 Donal K. Fellows <fellowsd@cs.man.ac.uk> + * generic/tclCmdMZ.c (Tcl_StringObjCmd): A missing + {return TCL_OK;} was causing memory corruption. [Bug #408002] + * generic/tclExecute.c (TclDeleteExecEnv, GrowEvaluationStack, TclExecuteByteCode): Added some casts to ClientData that are apparently needed on some architectures. diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index b328793..a0e0489 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdMZ.c,v 1.31 2001/02/16 09:26:30 dkf Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.32 2001/03/13 11:10:44 dkf Exp $ */ #include "tclInt.h" @@ -1663,6 +1663,7 @@ Tcl_StringObjCmd(dummy, interp, objc, objv) * empty charMap, just return whatever string was given */ Tcl_SetObjResult(interp, objv[objc-1]); + return TCL_OK; } else if (mapElemc & 1) { /* * The charMap must be an even number of key/value items |