diff options
author | dgp <dgp@noemail.net> | 2002-01-17 04:37:32 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-01-17 04:37:32 (GMT) |
commit | 3f36853ecfb6bbcb1991bde15129d16da8f68965 (patch) | |
tree | 62a19bfcb6159f9beaa9ffb26dcd2b680126c7c8 /generic/tclVar.c | |
parent | f0abdf9b8f9092172d08b390156f98df2f135669 (diff) | |
download | tcl-3f36853ecfb6bbcb1991bde15129d16da8f68965.zip tcl-3f36853ecfb6bbcb1991bde15129d16da8f68965.tar.gz tcl-3f36853ecfb6bbcb1991bde15129d16da8f68965.tar.bz2 |
* More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were
overlooked before. Updated callers.
***POTENTIAL INCOMPATIBILITY***
Includes a source incompatibility in the tablePtr arguments of
the Tcl_GetIndexFromObj* routines.
FossilOrigin-Name: 28b6020550dd9e62f46b824e4c2ba2a6302657f6
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c index 134ca16..238f6ff 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.44 2001/12/07 13:55:59 msofer Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.45 2002/01/17 04:37:33 dgp Exp $ */ #include "tclInt.h" @@ -3152,7 +3152,7 @@ Tcl_ArrayObjCmd(dummy, interp, objc, objv) enum {ARRAY_ANYMORE, ARRAY_DONESEARCH, ARRAY_EXISTS, ARRAY_GET, ARRAY_NAMES, ARRAY_NEXTELEMENT, ARRAY_SET, ARRAY_SIZE, ARRAY_STARTSEARCH, ARRAY_STATISTICS, ARRAY_UNSET}; - static char *arrayOptions[] = { + static CONST char *arrayOptions[] = { "anymore", "donesearch", "exists", "get", "names", "nextelement", "set", "size", "startsearch", "statistics", "unset", (char *) NULL }; @@ -3418,7 +3418,7 @@ Tcl_ArrayObjCmd(dummy, interp, objc, objv) char *name; Tcl_Obj *namePtr; int mode, matched = 0; - static char *options[] = { + static CONST char *options[] = { "-exact", "-glob", "-regexp", (char *) NULL }; enum options { OPT_EXACT, OPT_GLOB, OPT_REGEXP }; |