diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-17 03:03:10 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 03:03:10 (GMT) |
commit | 2955a401d559c6249d4f2ad18a4c7b000df1a3de (patch) | |
tree | d3199c60f6666de3fc69c7f34d074408746ec7f2 /mac | |
parent | a47d47cbb35ee1acc2ecb44bb6b37631ce05d137 (diff) | |
download | tcl-2955a401d559c6249d4f2ad18a4c7b000df1a3de.zip tcl-2955a401d559c6249d4f2ad18a4c7b000df1a3de.tar.gz tcl-2955a401d559c6249d4f2ad18a4c7b000df1a3de.tar.bz2 |
* Updated APIs in generic/tclUtf.c and generic/tclRegexp.c according
to the guidelines of TIP 27. Updated callers.
Diffstat (limited to 'mac')
-rw-r--r-- | mac/tclMacLoad.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/mac/tclMacLoad.c b/mac/tclMacLoad.c index b12c057..9dd32be 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.9 2002/01/09 19:09:28 kennykb Exp $ + * RCS: @(#) $Id: tclMacLoad.c,v 1.10 2002/01/17 03:03:12 dgp Exp $ */ #include <CodeFragments.h> @@ -140,8 +140,9 @@ TclpLoadFile( /* * First thing we must do is infer the package name from the sym1 - * variable. This is kind of dumb since the caller actually knows - * this value, it just doesn't give it to us. + * variable (by removing the "_Init" suffix). This is kind of dumb + * since the caller actually knows this value, it just doesn't give + * it to us. */ native = Tcl_UtfToExternalDString(NULL, sym1, -1, &ds); native[strlen(native) - 5] = 0; |