diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-04-05 07:38:07 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-04-05 07:38:07 (GMT) |
| commit | 25b898c3ae96aa28e181919c3303c27239ddaaeb (patch) | |
| tree | a4aac404aab4f1533a0490845933fc19038f6480 /unix/tclLoadDyld.c | |
| parent | aa253651618185ae87f95c78029c65d55c6f3e42 (diff) | |
| download | tcl-25b898c3ae96aa28e181919c3303c27239ddaaeb.zip tcl-25b898c3ae96aa28e181919c3303c27239ddaaeb.tar.gz tcl-25b898c3ae96aa28e181919c3303c27239ddaaeb.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.c | 5 |
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); } |
