diff options
author | dgp <dgp@users.sourceforge.net> | 2006-08-28 13:13:56 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-08-28 13:13:56 (GMT) |
commit | c22de5144f416a709ff386b57b1484fa09ec5ed1 (patch) | |
tree | 0f93cb51bf24860f2c90ab2627ddabacc8c20ade | |
parent | d42ab6ae6dc8432bcfc0ea59fba79e352e9dc2f0 (diff) | |
download | tcl-c22de5144f416a709ff386b57b1484fa09ec5ed1.zip tcl-c22de5144f416a709ff386b57b1484fa09ec5ed1.tar.gz tcl-c22de5144f416a709ff386b57b1484fa09ec5ed1.tar.bz2 |
undo last commit.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | generic/tclNamesp.c | 4 |
2 files changed, 2 insertions, 6 deletions
@@ -3,10 +3,6 @@ * generic/tclClock.c (ClockClicksObjCmd): Fix nested macro breakage with TCL_MEM_DEBUG enabled. [Bug 1547662] - * generic/tclNamesp.c (NamespaceUpvarCmd): Fix panic with TCL_MEM_DEBUG - enabled caused by incorrect usage of TclFormatObj (missing trailing - NULL argument). [Bug 1547681] - 2006-08-26 Miguel Sofer <msofer@users.sf.net> * doc/namespace.n: diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index f33358d..74d7f41 100644 --- a/generic/tclNamesp.c +++ b/generic/tclNamesp.c @@ -22,7 +22,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclNamesp.c,v 1.99 2006/08/28 04:13:32 mistachkin Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.100 2006/08/28 13:13:57 dgp Exp $ */ #include "tclInt.h" @@ -4608,7 +4608,7 @@ NamespaceUpvarCmd( Tcl_Obj *resPtr; TclNewObj(resPtr); - TclFormatObj(NULL, resPtr, "namespace \"%s\" does not exist", objv[2], NULL); + TclFormatObj(NULL, resPtr, "namespace \"%s\" does not exist", objv[2]); Tcl_SetObjResult(interp, resPtr); return TCL_ERROR; } |