summaryrefslogtreecommitdiffstats
path: root/generic/regexec.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2013-09-07 21:19:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2013-09-07 21:19:47 (GMT)
commit7d65b0f9b214a041c9007cf45220fe7c8a5c88f0 (patch)
treee37a1e5e986f7b58a0b5da2d438f30df452ee611 /generic/regexec.c
parent4bba36ca59c3760f9e2a593e8135aa6f8352919e (diff)
parent133768540d48de8f9bf0638fd9983178588bd18a (diff)
downloadtcl-7d65b0f9b214a041c9007cf45220fe7c8a5c88f0.zip
tcl-7d65b0f9b214a041c9007cf45220fe7c8a5c88f0.tar.gz
tcl-7d65b0f9b214a041c9007cf45220fe7c8a5c88f0.tar.bz2
merge trunkbug_86ceb4e2b6
Diffstat (limited to 'generic/regexec.c')
-rw-r--r--generic/regexec.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/generic/regexec.c b/generic/regexec.c
index 9b6a693..ad4b6e6 100644
--- a/generic/regexec.c
+++ b/generic/regexec.c
@@ -504,12 +504,7 @@ complicatedFindLoop(
return er;
}
if ((shorter) ? end == estop : end == begin) {
- /*
- * No point in trying again.
- */
-
- *coldp = cold;
- return REG_NOMATCH;
+ break;
}
/*