summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--generic/tclParseExpr.c8
2 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e86606f..41df0fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-18 Don Porter <dgp@users.sourceforge.net>
+
+ * generic/tclParseExpr.c: Disabled attempts to support [expr]
+ functions named eq(...) or ne(...). Any attempts to use such
+ functions were panicking. [Bug 1971879].
+
2008-06-16 Andreas Kupries <andreask@activestate.com>
* generic/tclCmdIL.c (InfoFrameCmd): Backport of fix made on the
@@ -44,7 +50,7 @@
2008-04-26 Zoran Vasiljevic <vasiljevic@users.sourceforge.net>
* generic/tclAsync.c: Tcl_AsyncDelete(): panic if attempt
- to locate handler token fails. Happens when some other
+ to locate handler token fails. Happens when some other
thread attempts to delete somebody else's token.
Also, panic early if we find out the wrong thread attempting
diff --git a/generic/tclParseExpr.c b/generic/tclParseExpr.c
index a1f9d78..0f4f290 100644
--- a/generic/tclParseExpr.c
+++ b/generic/tclParseExpr.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: tclParseExpr.c,v 1.17.2.2 2005/05/20 17:19:10 vasiljevic Exp $
+ * RCS: @(#) $Id: tclParseExpr.c,v 1.17.2.3 2008/06/18 21:18:56 dgp Exp $
*/
#include "tclInt.h"
@@ -1369,8 +1369,14 @@ ParsePrimaryExpr(infoPtr)
}
break;
+/*
+ * Disable attempt to support functions named "eq" or "ne". This
+ * is unworkable in the Tcl 8.4.* releases. See Tcl Bugs 1971879
+ * and 1201589.
+ *
case STREQ:
case STRNEQ:
+*/
case FUNC_NAME: {
/*
* math_func '(' expr {',' expr} ')'