summaryrefslogtreecommitdiffstats
path: root/unix/tclLoadDyld.c
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-04-05 07:38:07 (GMT)
committerdkf <dkf@noemail.net>2010-04-05 07:38:07 (GMT)
commit312d027ba8d0c1989716c12eccad2feb06f48f18 (patch)
treea4aac404aab4f1533a0490845933fc19038f6480 /unix/tclLoadDyld.c
parent3cdf2eeb184d87f8e6a2002d54e4172867203562 (diff)
downloadtcl-312d027ba8d0c1989716c12eccad2feb06f48f18.zip
tcl-312d027ba8d0c1989716c12eccad2feb06f48f18.tar.gz
tcl-312d027ba8d0c1989716c12eccad2feb06f48f18.tar.bz2
Fix two failing tests by matching the can't-lookup-symbol error message.
FossilOrigin-Name: 74f9cd4b4f101a83288da5f290a8ad4d44e8e49d
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);
}