From e7043db7ef76cb0f0ff1cad93f68788000644560 Mon Sep 17 00:00:00 2001 From: dgp Date: Wed, 18 Jun 2008 21:18:55 +0000 Subject: * generic/tclParseExpr.c: Disabled attempts to support [expr] functions named eq(...) or ne(...). Any attempts to use such functions were panicking. [Bug 1971879]. --- ChangeLog | 8 +++++++- generic/tclParseExpr.c | 8 +++++++- 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 + + * 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 * generic/tclCmdIL.c (InfoFrameCmd): Backport of fix made on the @@ -44,7 +50,7 @@ 2008-04-26 Zoran Vasiljevic * 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} ')' -- cgit v0.12