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/

Attachment: signature.asc
Description: PGP signature

Reply via email to