diff options
author | hobbs <hobbs> | 2004-03-29 18:49:19 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2004-03-29 18:49:19 (GMT) |
commit | fc35db336cf80ba5d03d87e2d0c86edf1670d8fc (patch) | |
tree | ce0bae4649cdf08ac4f4a22e22af0af73664e655 /mac/tclMacInit.c | |
parent | 8f0d403b02d42ece1a2f24a9bf1327837480fd4e (diff) | |
download | tcl-fc35db336cf80ba5d03d87e2d0c86edf1670d8fc.zip tcl-fc35db336cf80ba5d03d87e2d0c86edf1670d8fc.tar.gz tcl-fc35db336cf80ba5d03d87e2d0c86edf1670d8fc.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]
Diffstat (limited to 'mac/tclMacInit.c')
-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) */ } /* |