From 916b94af3504e3d48aa912ea7c3ca0bd5d983434 Mon Sep 17 00:00:00 2001 From: Miguel Sofer Date: Wed, 30 Jan 2008 10:45:55 +0000 Subject: * generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373] --- ChangeLog | 4 ++++ generic/tclInterp.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9493183..705483d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-30 Miguel Sofer + + * generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373] + 2008-01-30 Donal K. Fellows * 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; -- cgit v0.12