diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2008-01-30 10:46:51 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2008-01-30 10:46:51 (GMT) |
commit | c784898768a3bdf627cd6a9ae33e7b885d80e44d (patch) | |
tree | 57bdf82d82e7b3e7abc344662aff9c76ef2e5e00 /generic | |
parent | 96ef6af4e3f9b90258b807aa289715f243e31565 (diff) | |
download | tcl-c784898768a3bdf627cd6a9ae33e7b885d80e44d.zip tcl-c784898768a3bdf627cd6a9ae33e7b885d80e44d.tar.gz tcl-c784898768a3bdf627cd6a9ae33e7b885d80e44d.tar.bz2 |
* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373]
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclInterp.c | 4 |
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; |