diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2008-01-30 10:45:55 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2008-01-30 10:45:55 (GMT) |
commit | 916b94af3504e3d48aa912ea7c3ca0bd5d983434 (patch) | |
tree | 3f2688be1f8a58e7e74ee0e197d48b7bbe6997a7 | |
parent | 730cfd66ec46d23a2be30b9db2980c682f564556 (diff) | |
download | tcl-916b94af3504e3d48aa912ea7c3ca0bd5d983434.zip tcl-916b94af3504e3d48aa912ea7c3ca0bd5d983434.tar.gz tcl-916b94af3504e3d48aa912ea7c3ca0bd5d983434.tar.bz2 |
* generic/tclInterp.c (Tcl_GetAlias): fix for [Bug 1882373]
-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; |