mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream * upstream-KWSys: KWSys 2020-09-29 (4a19ed43)
This commit is contained in:
@@ -359,7 +359,7 @@ bool RegularExpression::compile(const char* exp)
|
||||
this->regmatch.clear();
|
||||
|
||||
// Small enough for pointer-storage convention?
|
||||
if (comp.regsize >= 32767L) { // Probably could be 65535L.
|
||||
if (comp.regsize >= 65535L) {
|
||||
// RAISE Error, SYM(RegularExpression), SYM(Expr_Too_Big),
|
||||
printf("RegularExpression::compile(): Expression too big.\n");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user