diff options
author | dgp <dgp@noemail.net> | 2002-01-17 03:03:10 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-17 03:03:10 (GMT) |
commit | f0abdf9b8f9092172d08b390156f98df2f135669 (patch) | |
tree | d3199c60f6666de3fc69c7f34d074408746ec7f2 /generic/tclFileName.c | |
parent | 82448aebf34f47ec026198087e95885beb9ef9f0 (diff) | |
download | tcl-f0abdf9b8f9092172d08b390156f98df2f135669.zip tcl-f0abdf9b8f9092172d08b390156f98df2f135669.tar.gz tcl-f0abdf9b8f9092172d08b390156f98df2f135669.tar.bz2 |
* Updated APIs in generic/tclUtf.c and generic/tclRegexp.c according
to the guidelines of TIP 27. Updated callers.
FossilOrigin-Name: 17ade1570084cb2d14c947ac65b1832f709d3bb6
Diffstat (limited to 'generic/tclFileName.c')
-rw-r--r-- | generic/tclFileName.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclFileName.c b/generic/tclFileName.c index 5833135..d29b25c 100644 --- a/generic/tclFileName.c +++ b/generic/tclFileName.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: tclFileName.c,v 1.25 2001/10/16 05:31:18 dgp Exp $ + * RCS: @(#) $Id: tclFileName.c,v 1.26 2002/01/17 03:03:11 dgp Exp $ */ #include "tclInt.h" @@ -382,7 +382,7 @@ TclpGetNativePathType(pathObjPtr, driveNameLengthPtr, driveNameRef) if (!Tcl_RegExpExec(NULL, re, path, path)) { type = TCL_PATH_RELATIVE; } else { - char *root, *end; + CONST char *root, *end; Tcl_RegExpRange(re, 2, &root, &end); if (root != NULL) { type = TCL_PATH_RELATIVE; @@ -814,7 +814,7 @@ SplitMacPath(path) re = Tcl_GetRegExpFromObj(NULL, tsdPtr->macRootPatternPtr, REG_ADVANCED); if (Tcl_RegExpExec(NULL, re, path, path) == 1) { - char *start, *end; + CONST char *start, *end; Tcl_Obj *nextElt; /* |