diff options
author | redman <redman> | 1999-07-22 21:50:53 (GMT) |
---|---|---|
committer | redman <redman> | 1999-07-22 21:50:53 (GMT) |
commit | 56b77d9d6c418f3dee04f0b31834ad76e69e11dd (patch) | |
tree | d6278f0ac3e8f40fdef3bbed06f35b3868fbb00f /generic/tclCmdMZ.c | |
parent | 41b1b6389d0f6a7a65410e66d85f909e6f855148 (diff) | |
download | tcl-56b77d9d6c418f3dee04f0b31834ad76e69e11dd.zip tcl-56b77d9d6c418f3dee04f0b31834ad76e69e11dd.tar.gz tcl-56b77d9d6c418f3dee04f0b31834ad76e69e11dd.tar.bz2 |
* Changed version to 8.2b2.
* win/tclWinPort.h: Block out include of sys/*.h in order to
build extensions with MetroWerks compiler for Win32. [Bug: 2385]
* generic/tclCmdMZ.c:
* generic/tclIO.c: Fix ANSI-style prototypes based on patch from
Ulrich Ring. [Bug: 2391]
* unix/Makefile.in: Need to make install-sh executable before
calling (with chmod +x). [Bug: 2413]
* tests/var.test:
* generic/tclVar.c: Fixed bug that caused a seg. fault when using
"array set a(b) {}", which is a bad array name anyway. Now the
"array set" command will return an error in this case. Added test
case and fixed existing test. [Bug: 2427]
Diffstat (limited to 'generic/tclCmdMZ.c')
-rw-r--r-- | generic/tclCmdMZ.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/generic/tclCmdMZ.c b/generic/tclCmdMZ.c index db92f19..585ffa7 100644 --- a/generic/tclCmdMZ.c +++ b/generic/tclCmdMZ.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclCmdMZ.c,v 1.18 1999/07/09 02:11:56 stanton Exp $ + * RCS: @(#) $Id: tclCmdMZ.c,v 1.19 1999/07/22 21:50:54 redman Exp $ */ #include "tclInt.h" @@ -1089,7 +1089,12 @@ Tcl_StringObjCmd(dummy, interp, objc, objv) case STR_IS: { char *end; Tcl_UniChar ch; - int (*chcomp)(int) = NULL; /* The UniChar comparison function */ + + /* + * The UniChar comparison function + */ + + int (*chcomp)_ANSI_ARGS_((int)) = NULL; int i, failat = 0, result = 1, strict = 0; Tcl_Obj *objPtr, *failVarObj = NULL; |