diff options
author | dgp <dgp@users.sourceforge.net> | 2001-10-16 05:10:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2001-10-16 05:10:34 (GMT) |
commit | 15c387a97b11f816847a8836a2f60e091b7ff7ff (patch) | |
tree | 3bc613c0232ee4ef5707b1a11feecf8e83636bd6 /generic/tclIO.c | |
parent | 4833f0f4df984e373b6500a7a707a63f36f2fc1d (diff) | |
download | tcl-15c387a97b11f816847a8836a2f60e091b7ff7ff.zip tcl-15c387a97b11f816847a8836a2f60e091b7ff7ff.tar.gz tcl-15c387a97b11f816847a8836a2f60e091b7ff7ff.tar.bz2 |
* Added test to demonstrate memory corruption problems. [Bug 219393].
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 871a8c7..549d1d3 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.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: tclIO.c,v 1.38 2001/09/28 16:06:12 kennykb Exp $ + * RCS: @(#) $Id: tclIO.c,v 1.39 2001/10/16 05:10:34 dgp Exp $ */ #include "tclInt.h" @@ -4689,7 +4689,7 @@ ReadChars(statePtr, objPtr, charsToRead, offsetPtr, factorPtr) * Got too many chars. */ - char *eof; + CONST char *eof; eof = Tcl_UtfAtIndex(dst, toRead); statePtr->inputEncodingState = oldState; |