[bug #45930] -ignore_readdir_race ineffective in find 4.5.11 and 4.5.14
Tavian Barnes <[email protected]>
| Newsgroups | gmane.comp.gnu.findutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Follow-up Comment #10, bug #45930 (group findutils):
> gnulib/lib/ftc.c (FTC)
Do you mean FTS?
> This means that when find recurses into a subdirectory, it complains when
> that subdirectory doesn't exist.
Ah, you mean something like this:
$ mkdir -p foo
$ find -ignore_readdir_race -name . -o -name foo -print -exec rmdir {} \; -o
-prune
./foo
find: ‘./foo’: No such file or directory
Actually this is fixable in ftsfind.c. ignore_readdir_race is already handled
for FTS_NS, it just has to be added to FTS_DNR as well.
_______________________________________________________
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----- iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ2G84AAKCRCqLAuaBUf3 Thh7APsFNKD9extn20pELqD79tq/Im97yUyh4TAuyiPFaHj/JQEA9LP/q8ttmITV avXE+qmIJtsKdYDjzXGCnrdk/xx/mwo= =ogds -----END PGP SIGNATURE-----