summaryrefslogtreecommitdiffstats
path: root/mac/tclMacLoad.c
diff options
context:
space:
mode:
authorjingham <jingham@noemail.net>1999-10-15 04:47:11 (GMT)
committerjingham <jingham@noemail.net>1999-10-15 04:47:11 (GMT)
commit2c6860ce29d20a5d96a8ea3d96d5235b25f38cb7 (patch)
tree2332eda939c9d52042efb73c9c29dd6e37696cfd /mac/tclMacLoad.c
parentf59224525a9a560beffe28a30e677ab5b5b01e00 (diff)
downloadtcl-2c6860ce29d20a5d96a8ea3d96d5235b25f38cb7.zip
tcl-2c6860ce29d20a5d96a8ea3d96d5235b25f38cb7.tar.gz
tcl-2c6860ce29d20a5d96a8ea3d96d5235b25f38cb7.tar.bz2
Stupid bug in TclpLoadFile - use the converted value!
FossilOrigin-Name: d4146ab675518a2d1c4a40d08bb7e1c4dd1c872c
Diffstat (limited to 'mac/tclMacLoad.c')
-rw-r--r--mac/tclMacLoad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/tclMacLoad.c b/mac/tclMacLoad.c
index 622eb65..daf87ca 100644
--- a/mac/tclMacLoad.c
+++ b/mac/tclMacLoad.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: tclMacLoad.c,v 1.3 1999/04/16 00:47:20 stanton Exp $
+ * RCS: @(#) $Id: tclMacLoad.c,v 1.4 1999/10/15 04:47:12 jingham Exp $
*/
#include <CodeFragments.h>
@@ -135,7 +135,7 @@ TclpLoadFile(
*(Tcl_UtfAtIndex(packageName, Tcl_NumUtfChars(packageName, -1) - 5)) = 0;
native = Tcl_UtfToExternalDString(NULL, fileName, -1, &ds);
- err = FSpLocationFromPath(strlen(fileName), fileName, &fileSpec);
+ err = FSpLocationFromPath(strlen(native), native, &fileSpec);
Tcl_DStringFree(&ds);
if (err != noErr) {