diff options
author | dgp <dgp@users.sourceforge.net> | 2006-11-02 16:57:53 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-11-02 16:57:53 (GMT) |
commit | ee75480f2f9483654c8f665acd984569f3234ca8 (patch) | |
tree | 2310e44be176ea7118c46442e8d83a1fb9c699ec /generic/tclNamesp.c | |
parent | d21c1ef27faf5fb3983ceaa6fb2f9e4d92fd79fc (diff) | |
download | tcl-ee75480f2f9483654c8f665acd984569f3234ca8.zip tcl-ee75480f2f9483654c8f665acd984569f3234ca8.tar.gz tcl-ee75480f2f9483654c8f665acd984569f3234ca8.tar.bz2 |
* generic/tclCmdAH.c: Further revisions to produce the routines
* generic/tclInt.h: TclFormat() and TclAppendFormatToObj() that
* generic/tclNamesp.c: accept (objc, objv) arguments rather than
* generic/tclStringObj.c: any varargs stuff.
Diffstat (limited to 'generic/tclNamesp.c')
-rw-r--r-- | generic/tclNamesp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclNamesp.c b/generic/tclNamesp.c index 93a87ed..a33cffa 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.116 2006/11/02 15:58:08 dgp Exp $ + * RCS: @(#) $Id: tclNamesp.c,v 1.117 2006/11/02 16:57:54 dgp Exp $ */ #include "tclInt.h" @@ -4606,8 +4606,8 @@ NamespaceUpvarCmd( /* * The namespace does not exist, leave an error message. */ - Tcl_SetObjResult(interp, TclObjFormat(NULL, - "namespace \"%s\" does not exist", objv[2])); + Tcl_SetObjResult(interp, TclFormat(NULL, + "namespace \"%s\" does not exist", 1, objv+2)); return TCL_ERROR; } |