diff options
author | hobbs <hobbs> | 2007-12-06 19:34:57 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2007-12-06 19:34:57 (GMT) |
commit | c705b6f05a1fc295aba71e392c7e958f136436c6 (patch) | |
tree | a41398d67470bd4597c9d9b9858cda93c322b66d | |
parent | c805eb186280c216c7f727254ec8e555a30c0b62 (diff) | |
download | tcl-c705b6f05a1fc295aba71e392c7e958f136436c6.zip tcl-c705b6f05a1fc295aba71e392c7e958f136436c6.tar.gz tcl-c705b6f05a1fc295aba71e392c7e958f136436c6.tar.bz2 |
(TclMatchIsTrivial): simplify TclMatchIsTrivial to remove ] check
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | generic/tclInt.h | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ 2007-12-06 Jeff Hobbs <jeffh@ActiveState.com> * generic/tclInt.h: add TclGetChannelFromObj decl + (TclMatchIsTrivial): simplify TclMatchIsTrivial to remove ] check. 2007-12-06 Donal K. Fellows <donal.k.fellows@manchester.ac.uk> 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 /* *---------------------------------------------------------------- |