diff options
author | dgp <dgp@noemail.net> | 2002-01-25 20:40:54 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-25 20:40:54 (GMT) |
commit | 153a2262c8103be50550bcebaa3e905212e69f76 (patch) | |
tree | 90cd60706107518bc582921a1eb262224b8dac22 /mac/tclMacInit.c | |
parent | 4a6a6ae527bb309fc36d5f478e89f0c5d14480dc (diff) | |
download | tcl-153a2262c8103be50550bcebaa3e905212e69f76.zip tcl-153a2262c8103be50550bcebaa3e905212e69f76.tar.gz tcl-153a2262c8103be50550bcebaa3e905212e69f76.tar.bz2 |
* Updated interfaces of generic/tclEncoding, generic/tclFilename.c,
generic/tclIOUtil.c, generic/tclPipe.c, generic/tclResult.c,
generic/tclUtil.c, generic/tclVar.c and mac/tclMacResource.c according
to TIP 27. Tcl_TranslateFileName rewritten as wrapper around
VFS-aware version. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes source incompatibilities: argv arguments of Tcl_Concat,
Tcl_JoinPath, Tcl_OpenCommandChannel, Tcl_Merge; argvPtr arguments of
Tcl_SplitList and Tcl_SplitPath.
FossilOrigin-Name: fceed15544ad472b748cdf463c3b4005e83b5e8f
Diffstat (limited to 'mac/tclMacInit.c')
-rw-r--r-- | mac/tclMacInit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mac/tclMacInit.c b/mac/tclMacInit.c index b10a0bd..451e377 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.6 2001/12/27 22:46:19 das Exp $ + * RCS: @(#) $Id: tclMacInit.c,v 1.7 2002/01/25 20:40:56 dgp Exp $ */ #include <AppleEvents.h> @@ -354,7 +354,7 @@ TclpInitLibraryPath(argv0) * by querying the module handle. */ { Tcl_Obj *objPtr, *pathPtr; - char *str; + CONST char *str; Tcl_DString ds; TclMacCreateEnv(); @@ -395,7 +395,7 @@ TclpInitLibraryPath(argv0) str = TclGetEnv("EXT_FOLDER", &ds); if ((str != NULL) && (str[0] != '\0')) { Tcl_DString libPath, path; - char *argv[3]; + CONST char *argv[3]; argv[0] = str; argv[1] = "Tool Command Language"; @@ -739,7 +739,7 @@ Tcl_SourceRCFile( Tcl_Interp *interp) /* Interpreter to source rc file into. */ { Tcl_DString temp; - char *fileName; + CONST char *fileName; Tcl_Channel errChannel; Handle h; @@ -747,7 +747,7 @@ Tcl_SourceRCFile( if (fileName != NULL) { Tcl_Channel c; - char *fullName; + CONST char *fullName; Tcl_DStringInit(&temp); fullName = Tcl_TranslateFileName(interp, fileName, &temp); |