summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.c
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-01-30 10:46:51 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-01-30 10:46:51 (GMT)
commit23650fbf0219bd980e4e4802d33cce4a0314b623 (patch)
tree57bdf82d82e7b3e7abc344662aff9c76ef2e5e00 /generic/tclInterp.c
parent86514857ac4bc68cdba4cad1147f772ddeb507be (diff)
downloadtcl-23650fbf0219bd980e4e4802d33cce4a0314b623.zip
tcl-23650fbf0219bd980e4e4802d33cce4a0314b623.tar.gz
tcl-23650fbf0219bd980e4e4802d33cce4a0314b623.tar.bz2
* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373]
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r--generic/tclInterp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 7fae90a..bd2db56 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclInterp.c,v 1.20.2.3 2006/11/28 22:20:02 andreas_kupries Exp $
+ * RCS: @(#) $Id: tclInterp.c,v 1.20.2.4 2008/01/30 10:46:56 msofer Exp $
*/
#include "tclInt.h"
@@ -967,7 +967,7 @@ Tcl_GetAlias(interp, aliasName, targetInterpPtr, targetNamePtr, argcPtr,
*argvPtr = (CONST char **)
ckalloc((unsigned) sizeof(CONST char *) * (objc - 1));
for (i = 1; i < objc; i++) {
- *argvPtr[i - 1] = Tcl_GetString(objv[i]);
+ (*argvPtr)[i - 1] = Tcl_GetString(objv[i]);
}
}
return TCL_OK;