summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclInterp.c4
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 <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;