diff options
author | ericm <ericm> | 2000-08-11 17:42:40 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-08-11 17:42:40 (GMT) |
commit | f27595166b79ca080f874d01242aeed2e8459d0f (patch) | |
tree | 1ef860d0a82addab75cb9f50204f19616ed16100 | |
parent | 3ba754a2fb35b2f855e2139b0c83e56ff06af171 (diff) | |
download | tcl-f27595166b79ca080f874d01242aeed2e8459d0f.zip tcl-f27595166b79ca080f874d01242aeed2e8459d0f.tar.gz tcl-f27595166b79ca080f874d01242aeed2e8459d0f.tar.bz2 |
* generic/tclEnv.c (TclUnsetEnv): Changed declaration of length
variable from "unsigned int" to "int", to match usage when passed
to TclpFindVariable [Bug: 6126].
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | generic/tclEnv.c | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2000-08-11 Eric Melski <ericm@ajubasolutions.com> + + * generic/tclEnv.c (TclUnsetEnv): Changed declaration of length + variable from "unsigned int" to "int", to match usage when passed + to TclpFindVariable [Bug: 6126]. + 2000-08-10 Eric Melski <ericm@ajubasolutions.com> * library/msgcat1.0/pkgIndex.tcl: Bumped version number to 1.2 diff --git a/generic/tclEnv.c b/generic/tclEnv.c index 0eda081..1650ed2 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEnv.c,v 1.8 2000/05/22 23:54:31 hobbs Exp $ + * RCS: @(#) $Id: tclEnv.c,v 1.9 2000/08/11 17:42:41 ericm Exp $ */ #include "tclInt.h" @@ -356,7 +356,7 @@ TclUnsetEnv(name) CONST char *name; /* Name of variable to remove (UTF-8). */ { char *oldValue; - unsigned int length; + int length; int index; #ifdef USE_PUTENV Tcl_DString envString; |