diff options
| author | hobbs <hobbs> | 2004-03-29 18:49:19 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2004-03-29 18:49:19 (GMT) |
| commit | 4842df1ea67d934dad86802e91e66aeb8ecad9ed (patch) | |
| tree | ce0bae4649cdf08ac4f4a22e22af0af73664e655 /win/tclWinInit.c | |
| parent | a5a39131e32f6357e0328e9f4828ed184f2b7a4e (diff) | |
| download | tcl-4842df1ea67d934dad86802e91e66aeb8ecad9ed.zip tcl-4842df1ea67d934dad86802e91e66aeb8ecad9ed.tar.gz tcl-4842df1ea67d934dad86802e91e66aeb8ecad9ed.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 'win/tclWinInit.c')
| -rw-r--r-- | win/tclWinInit.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/win/tclWinInit.c b/win/tclWinInit.c index a65c970..d7ddbb5 100644 --- a/win/tclWinInit.c +++ b/win/tclWinInit.c @@ -7,7 +7,7 @@ * Copyright (c) 1998-1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclWinInit.c,v 1.40.2.4 2004/03/21 21:03:37 hobbs Exp $ + * RCS: @(#) $Id: tclWinInit.c,v 1.40.2.5 2004/03/29 18:49:36 hobbs Exp $ */ #include "tclWinInt.h" @@ -165,7 +165,7 @@ TclpInitPlatform() * Called at process initialization time. * * Results: - * None. + * Return 0, indicating that the UTF is clean. * * Side effects: * None. @@ -173,7 +173,7 @@ TclpInitPlatform() *--------------------------------------------------------------------------- */ -void +int TclpInitLibraryPath(path) CONST char *path; /* Potentially dirty UTF string that is */ /* the path to the executable name. */ @@ -330,6 +330,8 @@ TclpInitLibraryPath(path) } TclSetLibraryPath(pathPtr); + + return 0; /* 0 indicates that pathPtr is clean (true) utf */ } /* |
