]> Savannah Git Hosting - gnulib.git/commit
regex: avoid duplicate in espilon closure
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Feb 2021 00:35:46 +0000 (16:35 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Feb 2021 01:25:00 +0000 (17:25 -0800)
commitf5596242f91109b393919653d091bbeecc4b0a55
tree93d0549f6a5478d13aacc0ceedbc77a5e9983697
parenta588d48043b1294f386cf0382e9ea7e136536a18
regex: avoid duplicate in espilon closure

* lib/regcomp.c (calc_eclosure_iter): Insert NODE into epsilon
closure first rather than last.  Otherwise, the epsilon closure
might contain a duplicate of NODE.
ChangeLog
lib/regcomp.c