diff options
author | jingham <jingham> | 1999-10-15 04:47:12 (GMT) |
---|---|---|
committer | jingham <jingham> | 1999-10-15 04:47:12 (GMT) |
commit | 92548c63db304c75eac148990b77793351783c2c (patch) | |
tree | 2332eda939c9d52042efb73c9c29dd6e37696cfd /mac/tclMacLoad.c | |
parent | 589a14c54982638be3ceb17a5afa470516f3689e (diff) | |
download | tcl-92548c63db304c75eac148990b77793351783c2c.zip tcl-92548c63db304c75eac148990b77793351783c2c.tar.gz tcl-92548c63db304c75eac148990b77793351783c2c.tar.bz2 |
Stupid bug in TclpLoadFile - use the converted value!
Diffstat (limited to 'mac/tclMacLoad.c')
-rw-r--r-- | mac/tclMacLoad.c | 4 |
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) { |