Follow-up Comment #11, bug #45930 (group findutils): Alright, that's yet another case than the already-fixed one. The fix for this one would look like the following.
diff --git a/find/ftsfind.c b/find/ftsfind.c
index 89ed9dd0..f57fa809 100644
--- a/find/ftsfind.c
+++ b/find/ftsfind.c
@@ -304,6 +304,9 @@ consider_visiting (FTS *p, FTSENT *ent)
}
if (ent->fts_info == FTS_DNR)
{
+ /* Ignore ENOENT error for vanished directories. */
+ if (ENOENT == ent->fts_errno && options.ignore_readdir_race)
+ return;
nonfatal_target_file_error (ent->fts_errno, ent->fts_path);
if (options.do_dir_first)
{
WDYT?
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?45930>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
