summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-06-18 21:18:55 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-06-18 21:18:55 (GMT)
commite7043db7ef76cb0f0ff1cad93f68788000644560 (patch)
treec4c0d9133924e5e851d74dd946e4420e2e06a3d6
parent1922e1e0453740ff32919883b05862a382ab33d4 (diff)
downloadtcl-e7043db7ef76cb0f0ff1cad93f68788000644560.zip
tcl-e7043db7ef76cb0f0ff1cad93f68788000644560.tar.gz
tcl-e7043db7ef76cb0f0ff1cad93f68788000644560.tar.bz2
* generic/tclParseExpr.c: Disabled attempts to support [expr]
functions named eq(...) or ne(...). Any attempts to use such functions were panicking. [Bug 1971879].
-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} ')'