[bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14

anonymous <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #17, bug #45930 (group findutils):

Works with files but not directories as of master
faa13013686b179ab8f23a9ea7d238fb090c5ffe

Test case:

$ mkdir --parents 'test/foo' 'test/bar' 'test/bin' 'test/baz'
$ ./findutils/find/find 'test' -ignore_readdir_race -name 'bin' -execdir rmdir
'foo' 'bar' 'baz' ';' || echo 'errors'
./findutils/find/find: ‘test/foo’: No such file or directory
./findutils/find/find: ‘test/baz’: No such file or directory
errors


I'm using find to locate source trees for cleaning, but the spurious errors
confuse my backup script.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?45930>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ5mIKwAKCRCqLAuaBUf3
Tl07AP93haxUOhYmAkAShDoLkdOJmF4xD+/kZMnRq/ZSyBHxSAD+MQGZDvlXejuW
Z2HGpMY9hbdJPoDqacNN0XqW7ouMtAQ=
=+6pN
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.