summaryrefslogtreecommitdiff
path: root/lib/regexec.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-09-19 13:44:49 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-09-19 13:54:20 -0700
commitc9ff68cb20dab6d3f066c5474e4faf7066361a84 (patch)
treebe20707cb77ceb2bbc88c617c1d7f12016f4032e /lib/regexec.c
parent7f6191fd1973d53f54053ed24859aa8d1180995b (diff)
downloadgnulib-c9ff68cb20dab6d3f066c5474e4faf7066361a84.tar.gz
Revert previous patch, as it did not fix the bug after all.
Diffstat (limited to 'lib/regexec.c')
-rw-r--r--lib/regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regexec.c b/lib/regexec.c
index a0b9d39253..db50a564ab 100644
--- a/lib/regexec.c
+++ b/lib/regexec.c
@@ -1513,7 +1513,7 @@ set_regs (const regex_t *preg, const re_match_context_t *mctx, size_t nmatch,
free_fail_stack_return (fs);
return REG_ESPACE;
}
- if (fs && fs->num)
+ if (fs)
cur_node = pop_fail_stack (fs, &idx, nmatch, pmatch,
&eps_via_nodes);
else