summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2002-06-12 19:36:14 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2002-06-12 19:36:14 (GMT)
commit49a14aec1a0aca882321df160ad18576749c19c4 (patch)
tree75975e61f53589f16fe03ed4807740457a154d47
parent3c8f43ed403e4d57f1dc1f560944f4dab09091ca (diff)
downloadtcl-49a14aec1a0aca882321df160ad18576749c19c4.zip
tcl-49a14aec1a0aca882321df160ad18576749c19c4.tar.gz
tcl-49a14aec1a0aca882321df160ad18576749c19c4.tar.bz2
fixed [Bug 568123]
-rw-r--r--ChangeLog5
-rw-r--r--generic/tclBasic.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 4402e66..3679e28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;