diff options
author | dgp <dgp@noemail.net> | 2002-01-17 03:03:10 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-17 03:03:10 (GMT) |
commit | f0abdf9b8f9092172d08b390156f98df2f135669 (patch) | |
tree | d3199c60f6666de3fc69c7f34d074408746ec7f2 /mac/tclMacLoad.c | |
parent | 82448aebf34f47ec026198087e95885beb9ef9f0 (diff) | |
download | tcl-f0abdf9b8f9092172d08b390156f98df2f135669.zip tcl-f0abdf9b8f9092172d08b390156f98df2f135669.tar.gz tcl-f0abdf9b8f9092172d08b390156f98df2f135669.tar.bz2 |
* Updated APIs in generic/tclUtf.c and generic/tclRegexp.c according
to the guidelines of TIP 27. Updated callers.
FossilOrigin-Name: 17ade1570084cb2d14c947ac65b1832f709d3bb6
Diffstat (limited to 'mac/tclMacLoad.c')
-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; |