]> git.sesse.net Git - plocate/commitdiff
Fix a crash on --existing and --regex together.
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 4 Sep 2021 22:47:14 +0000 (00:47 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Sat, 4 Sep 2021 22:47:14 +0000 (00:47 +0200)
--regex (and other linear scans) would launch multiple threads,
but IOUringEngine isn't thread-safe. Since --existing is obscure,
and --regex is obscure, we solve this by simply making synchronous
stat() calls.

Reported by Michael Arndt.


No differences found