summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-08-28 13:13:56 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-08-28 13:13:56 (GMT)
commitc22de5144f416a709ff386b57b1484fa09ec5ed1 (patch)
tree0f93cb51bf24860f2c90ab2627ddabacc8c20ade
parentd42ab6ae6dc8432bcfc0ea59fba79e352e9dc2f0 (diff)
downloadtcl-c22de5144f416a709ff386b57b1484fa09ec5ed1.zip
tcl-c22de5144f416a709ff386b57b1484fa09ec5ed1.tar.gz
tcl-c22de5144f416a709ff386b57b1484fa09ec5ed1.tar.bz2
undo last commit.
-rw-r--r--ChangeLog4
-rw-r--r--generic/tclNamesp.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 888cb70..14f1f17 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}