From c705b6f05a1fc295aba71e392c7e958f136436c6 Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 6 Dec 2007 19:34:57 +0000 Subject: (TclMatchIsTrivial): simplify TclMatchIsTrivial to remove ] check --- ChangeLog | 1 + generic/tclInt.h | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fd6e9f8..4789e1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2007-12-06 Jeff Hobbs * generic/tclInt.h: add TclGetChannelFromObj decl + (TclMatchIsTrivial): simplify TclMatchIsTrivial to remove ] check. 2007-12-06 Donal K. Fellows diff --git a/generic/tclInt.h b/generic/tclInt.h index cc57a09..c507ed3 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -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: tclInt.h,v 1.355 2007/12/06 19:23:40 hobbs Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.356 2007/12/06 19:34:58 hobbs Exp $ */ #ifndef _TCLINT @@ -3554,7 +3554,7 @@ MODULE_SCOPE void TclBNInitBignumFromWideUInt(mp_int *bignum, *---------------------------------------------------------------- */ -#define TclMatchIsTrivial(pattern) strpbrk((pattern), "*[]]?\\") == NULL +#define TclMatchIsTrivial(pattern) strpbrk((pattern), "*[?\\") == NULL /* *---------------------------------------------------------------- -- cgit v0.12