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 /unix | |
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 'unix')
-rw-r--r-- | unix/tclUnixInit.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index d0dfd28..a51124e 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -7,7 +7,7 @@ * Copyright (c) 1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.3 2004/02/17 23:46:54 hobbs Exp $ + * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.4 2004/03/29 18:49:36 hobbs Exp $ */ #if defined(HAVE_CFBUNDLE) @@ -242,7 +242,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. @@ -250,7 +251,7 @@ TclpInitPlatform() *--------------------------------------------------------------------------- */ -void +int TclpInitLibraryPath(path) CONST char *path; /* Path to the executable in native * multi-byte encoding. */ @@ -453,6 +454,8 @@ CONST char *path; /* Path to the executable in native TclSetLibraryPath(pathPtr); Tcl_DStringFree(&buffer); + + return 1; /* 1 indicates that pathPtr may be dirty utf (needs cleaning) */ } /* |