diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclInterp.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,7 @@ +2008-01-30 Miguel Sofer <msofer@users.sf.net> + + * generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373] + 2008-01-30 Donal K. Fellows <donal.k.fellows@man.ac.uk> * tools/tcltk-man2html.tcl: Reworked manual page scraper to do a 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; |