summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathStubLib.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-08-11 21:24:22 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-08-11 21:24:22 (GMT)
commit944fd5bdcf2e247575a9dd55704b37fbc2a1e9ac (patch)
tree27fde8f62082347078d925d76441498acc190a4a /generic/tclTomMathStubLib.c
parent9dee089fa2567d307056363c20eb69c53b4e1655 (diff)
parent88b202715dfbdfc05b7ce33d7f176595620496be (diff)
downloadtcl-944fd5bdcf2e247575a9dd55704b37fbc2a1e9ac.zip
tcl-944fd5bdcf2e247575a9dd55704b37fbc2a1e9ac.tar.gz
tcl-944fd5bdcf2e247575a9dd55704b37fbc2a1e9ac.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclTomMathStubLib.c')
-rw-r--r--generic/tclTomMathStubLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclTomMathStubLib.c b/generic/tclTomMathStubLib.c
index e7e4aea..a3bc4b3 100644
--- a/generic/tclTomMathStubLib.c
+++ b/generic/tclTomMathStubLib.c
@@ -73,10 +73,10 @@ TclTomMathInitializeStubs(
tclTomMathStubsPtr = stubsPtr;
return actualVersion;
}
- Tcl_ResetResult(interp);
- Tcl_AppendResult(interp, "error loading ", packageName,
- " (requested version ", version, ", actual version ",
- actualVersion, "): ", errMsg, NULL);
+
+ Tcl_SetObjResult(interp, Tcl_ObjPrintf(
+ "error loading %s (requested version %s, actual version %s): %s",
+ packageName, version, actualVersion, errMsg));
return NULL;
}