summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-04-05 07:38:07 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-04-05 07:38:07 (GMT)
commit648c5bbcac5d87bd675f90402e5f3f13a1fe8223 (patch)
treea4aac404aab4f1533a0490845933fc19038f6480 /unix/tclLoadDyld.c
parentc6d34ccc4d42388a8d6b75ea241569fa500aa0fe (diff)
downloadtcl-648c5bbcac5d87bd675f90402e5f3f13a1fe8223.zip
tcl-648c5bbcac5d87bd675f90402e5f3f13a1fe8223.tar.gz
tcl-648c5bbcac5d87bd675f90402e5f3f13a1fe8223.tar.bz2
Fix two failing tests by matching the can't-lookup-symbol error message.
Diffstat (limited to 'unix/tclLoadDyld.c')
-rw-r--r--unix/tclLoadDyld.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/unix/tclLoadDyld.c b/unix/tclLoadDyld.c
index bfdcc00..35f732d 100644
--- a/unix/tclLoadDyld.c
+++ b/unix/tclLoadDyld.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclLoadDyld.c,v 1.36 2010/04/02 22:52:26 dkf Exp $
+ * RCS: @(#) $Id: tclLoadDyld.c,v 1.37 2010/04/05 07:38:08 dkf Exp $
*/
#include "tclInt.h"
@@ -452,7 +452,8 @@ FindSymbol(
}
Tcl_DStringFree(&ds);
if (errMsg && (interp != NULL)) {
- Tcl_AppendResult(interp, errMsg, NULL);
+ Tcl_AppendResult(interp, "cannot find symbol \"", symbol, "\": ",
+ errMsg, NULL);
Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "LOAD_SYMBOL", symbol,
NULL);
}