diff options
author | hobbs <hobbs@noemail.net> | 2004-03-29 18:49:19 (GMT) |
---|---|---|
committer | hobbs <hobbs@noemail.net> | 2004-03-29 18:49:19 (GMT) |
commit | d4414d0cc86c198f8f709002987947cbcfacb8c7 (patch) | |
tree | ce0bae4649cdf08ac4f4a22e22af0af73664e655 /mac | |
parent | b1bd0b736c9ea7eb548b981b549d29d009303f85 (diff) | |
download | tcl-d4414d0cc86c198f8f709002987947cbcfacb8c7.zip tcl-d4414d0cc86c198f8f709002987947cbcfacb8c7.tar.gz tcl-d4414d0cc86c198f8f709002987947cbcfacb8c7.tar.bz2 |
* generic/tclInt.h:
* generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable):
* mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF
* unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually
* win/tclWinFile.c (TclpFindExecutable): "clean", allowing the
* win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from
paths that contain multi-byte chars on Windows [Bug 920667]
FossilOrigin-Name: 9621fb37c566cca5e966df8c2374a579b279e63a
Diffstat (limited to 'mac')
-rw-r--r-- | mac/tclMacInit.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/mac/tclMacInit.c b/mac/tclMacInit.c index f132577..a319713 100644 --- a/mac/tclMacInit.c +++ b/mac/tclMacInit.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclMacInit.c,v 1.9 2002/02/08 02:52:54 dgp Exp $ + * RCS: @(#) $Id: tclMacInit.c,v 1.9.2.1 2004/03/29 18:49:36 hobbs Exp $ */ #include <AppleEvents.h> @@ -339,7 +339,8 @@ TclpInitPlatform() * Called at process initialization time. * * Results: - * None. + * Return 1, indicating that the UTF may be dirty and require "cleanup" + * after encodings are initialized. * * Side effects: * None. @@ -347,7 +348,7 @@ TclpInitPlatform() *--------------------------------------------------------------------------- */ -void +int TclpInitLibraryPath(argv0) CONST char *argv0; /* Name of executable from argv[0] to main(). * Not used because we can determine the name @@ -411,6 +412,8 @@ TclpInitLibraryPath(argv0) Tcl_DStringFree(&path); } TclSetLibraryPath(pathPtr); + + return 1; /* 1 indicates that pathPtr may be dirty utf (needs cleaning) */ } /* |