diff options
author | dgp <dgp@noemail.net> | 2006-10-31 20:19:42 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2006-10-31 20:19:42 (GMT) |
commit | 29fd263f47784ec7b4f4bbb7d1bfa14c18ec41d5 (patch) | |
tree | 75652e34b31819c0360f9598db333054faffde99 /generic/tclPkg.c | |
parent | c763bd3d07473cf2d21851241db4f5fe1f444240 (diff) | |
download | tcl-29fd263f47784ec7b4f4bbb7d1bfa14c18ec41d5.zip tcl-29fd263f47784ec7b4f4bbb7d1bfa14c18ec41d5.tar.gz tcl-29fd263f47784ec7b4f4bbb7d1bfa14c18ec41d5.tar.bz2 |
* generic/tclBasic.c: Refactored and renamed the routines
* generic/tclCkalloc.c: TclObjPrintf, TclFormatObj, and
* generic/tclCmdAH.c: TclFormatToErrorInfo to a new set of
* generic/tclCmdIL.c: routines TclAppendPrintfToObj,
* generic/tclCmdMZ.c: TclAppendFormatToObj, TclObjPrintf, and
* generic/tclDictObj.c: TclObjFormat, with the intent of making
* generic/tclExecute.c: the latter list, plus TclAppendLimitedToObj
* generic/tclIORChan.c: and TclAppendObjToErrorInfo, public via
* generic/tclIOUtil.c: a revised TIP 270.
* generic/tclInt.h:
* generic/tclMain.c:
* generic/tclNamesp.c:
* generic/tclParseExpr.c:
* generic/tclPkg.c:
* generic/tclProc.c:
* generic/tclStringObj.c:
* generic/tclTimer.c:
* generic/tclUtil.c:
* unix/tclUnixFCmd.c:
FossilOrigin-Name: 65113c21ec5b011eb6d2df6a1b2552f2e410cf86
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r-- | generic/tclPkg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c index ea10e18..e0f6615 100644 --- a/generic/tclPkg.c +++ b/generic/tclPkg.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: tclPkg.c,v 1.21 2006/10/16 17:43:20 dgp Exp $ + * RCS: @(#) $Id: tclPkg.c,v 1.22 2006/10/31 20:19:45 dgp Exp $ * * TIP #268. * Heavily rewritten to handle the extend version numbers, and extended @@ -508,9 +508,9 @@ Tcl_PkgRequireProc( } if (code == TCL_ERROR) { - TclFormatToErrorInfo(interp, + TclAppendObjToErrorInfo(interp, TclObjPrintf(NULL, "\n (\"package ifneeded %s %s\" script)", - name, versionToProvide); + name, versionToProvide)); } Tcl_Release((ClientData) versionToProvide); |