Follow-up Comment #6, bug #45930 (project findutils): No, it's not fixed. I've identified at least one place where catching ENOENT helps ...
diff --git a/find/ftsfind.c b/find/ftsfind.c index 0d96c4ca..6aeac28c 100644 --- a/find/ftsfind.c +++ b/find/ftsfind.c @@ -401,6 +401,10 @@ consider_visiting (FTS *p, FTSENT *ent) } else { + /* Ignore unlink() error for vanished files. */ + if (ENOENT == ent->fts_errno && options.ignore_readdir_race) + return; + nonfatal_target_file_error (ent->fts_errno, ent->fts_path); /* Continue despite the error, as file name without stat info * might be better than not even processing the file name. This ..., but there seem to be more. Here, the reproducer in #4 still "works". _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?45930> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/