diff options
author | Miguel Sofer <miguel.sofer@gmail.com> | 2002-06-12 19:36:14 (GMT) |
---|---|---|
committer | Miguel Sofer <miguel.sofer@gmail.com> | 2002-06-12 19:36:14 (GMT) |
commit | 49a14aec1a0aca882321df160ad18576749c19c4 (patch) | |
tree | 75975e61f53589f16fe03ed4807740457a154d47 | |
parent | 3c8f43ed403e4d57f1dc1f560944f4dab09091ca (diff) | |
download | tcl-49a14aec1a0aca882321df160ad18576749c19c4.zip tcl-49a14aec1a0aca882321df160ad18576749c19c4.tar.gz tcl-49a14aec1a0aca882321df160ad18576749c19c4.tar.bz2 |
fixed [Bug 568123]
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | generic/tclBasic.c | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2002-06-12 Miguel Sofer <msofer@users.sourceforge.net> + + * tclBasic.c (Tcl_DeleteTrace): fixed [Bug 568123] (thanks to + Hemang Lavana) + 2002-06-12 Jeff Hobbs <jeffh@ActiveState.com> * win/tclWinFile.c: corrected the symbolic link handling code to diff --git a/generic/tclBasic.c b/generic/tclBasic.c index 22a8379..67456a2 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.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: tclBasic.c,v 1.58 2002/06/11 15:42:19 msofer Exp $ + * RCS: @(#) $Id: tclBasic.c,v 1.59 2002/06/12 19:36:14 msofer Exp $ */ #include "tclInt.h" @@ -4970,7 +4970,7 @@ Tcl_DeleteTrace(interp, trace) while ( (*tracePtr2) != NULL && (*tracePtr2) != tracePtr ) { tracePtr2 = &((*tracePtr2)->nextPtr); } - if ( tracePtr2 == NULL ) { + if ( *tracePtr2 == NULL ) { return; } (*tracePtr2) = (*tracePtr2)->nextPtr; |