summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2008-01-30 10:45:55 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2008-01-30 10:45:55 (GMT)
commit916b94af3504e3d48aa912ea7c3ca0bd5d983434 (patch)
tree3f2688be1f8a58e7e74ee0e197d48b7bbe6997a7 /generic
parent730cfd66ec46d23a2be30b9db2980c682f564556 (diff)
downloadtcl-916b94af3504e3d48aa912ea7c3ca0bd5d983434.zip
tcl-916b94af3504e3d48aa912ea7c3ca0bd5d983434.tar.gz
tcl-916b94af3504e3d48aa912ea7c3ca0bd5d983434.tar.bz2
* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373]
Diffstat (limited to 'generic')
-rw-r--r--generic/tclInterp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 92aa19a..1f2921a 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -10,7 +10,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.82 2007/12/13 15:23:18 dgp Exp $
+ * RCS: @(#) $Id: tclInterp.c,v 1.83 2008/01/30 10:45:55 msofer Exp $
*/
#include "tclInt.h"
@@ -1193,7 +1193,7 @@ Tcl_GetAlias(
*argvPtr = (const char **)
ckalloc((unsigned) sizeof(const char *) * (objc - 1));
for (i = 1; i < objc; i++) {
- *argvPtr[i - 1] = TclGetString(objv[i]);
+ (*argvPtr)[i - 1] = TclGetString(objv[i]);
}
}
return TCL_OK;