]> git.eshelyaron.com Git - emacs.git/commit
Fix spurious regexp reentrancy error
authorMattias Engdegård <mattiase@acm.org>
Tue, 19 Mar 2019 12:06:20 +0000 (13:06 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sat, 30 Mar 2019 10:48:25 +0000 (11:48 +0100)
commit75ec1b1952633019f5afaf24dd87e7e4f7d31f9c
tree2e59acb674e825b2176709551123b46ee15fdef9
parent9c0fa1172fd987a8f23b115145270383a11c12fc
Fix spurious regexp reentrancy error

* src/search.c (compile_pattern): Don't give up if the last regexp
cache entry is busy.  Instead, use the last (least recently used)
non-busy entry, and only signal a reentrancy error if there is no free
entry at all (Bug#34910).
src/search.c