summaryrefslogtreecommitdiffstats
path: root/generic
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 /generic
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].
Diffstat (limited to 'generic')
-rw-r--r--generic/tclParseExpr.c8
1 files changed, 7 insertions, 1 deletions
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} ')'