summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorhobbs <hobbs>2007-12-06 19:34:57 (GMT)
committerhobbs <hobbs>2007-12-06 19:34:57 (GMT)
commitc705b6f05a1fc295aba71e392c7e958f136436c6 (patch)
treea41398d67470bd4597c9d9b9858cda93c322b66d /generic/tclInt.h
parentc805eb186280c216c7f727254ec8e555a30c0b62 (diff)
downloadtcl-c705b6f05a1fc295aba71e392c7e958f136436c6.zip
tcl-c705b6f05a1fc295aba71e392c7e958f136436c6.tar.gz
tcl-c705b6f05a1fc295aba71e392c7e958f136436c6.tar.bz2
(TclMatchIsTrivial): simplify TclMatchIsTrivial to remove ] check
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h4
1 files changed, 2 insertions, 2 deletions
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
/*
*----------------------------------------------------------------