summaryrefslogtreecommitdiffstats
path: root/mac/tclMacFile.c
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2002-01-25 20:40:54 (GMT)
committerdgp@users.sourceforge.net <dgp>2002-01-25 20:40:54 (GMT)
commit7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b (patch)
tree90cd60706107518bc582921a1eb262224b8dac22 /mac/tclMacFile.c
parent4b4cd9d05f671364db6c1760d9b065b745ac7fab (diff)
downloadtcl-7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b.zip
tcl-7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b.tar.gz
tcl-7e2d3b1fed61e928f0382b3b1c6d266d42c68b4b.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.
Diffstat (limited to 'mac/tclMacFile.c')
-rw-r--r--mac/tclMacFile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mac/tclMacFile.c b/mac/tclMacFile.c
index d38d784..921ada5 100644
--- a/mac/tclMacFile.c
+++ b/mac/tclMacFile.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacFile.c,v 1.14 2002/01/18 03:22:52 das Exp $
+ * RCS: @(#) $Id: tclMacFile.c,v 1.15 2002/01/25 20:40:56 dgp Exp $
*/
/*
@@ -128,7 +128,7 @@ TclpMatchInDirectory(interp, resultPtr, pathPtr, pattern, types)
Tcl_Interp *interp; /* Interpreter to receive errors. */
Tcl_Obj *resultPtr; /* List object to lappend results. */
Tcl_Obj *pathPtr; /* Contains path to directory to search. */
- char *pattern; /* Pattern to match against. */
+ CONST char *pattern; /* Pattern to match against. */
Tcl_GlobTypeData *types; /* Object containing list of acceptable types.
* May be NULL. In particular the directory
* flag is very important. */
@@ -541,7 +541,7 @@ TclpObjGetCwd(interp)
}
}
-char *
+CONST char *
TclpGetCwd(
Tcl_Interp *interp, /* If non-NULL, used for error reporting. */
Tcl_DString *bufferPtr) /* Uninitialized or free DString filled