[bug #60207] -prune returns false for files for which fstatat() fails with EACCESS

Stephane Chazelas <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <[email protected]>
Follow-up Comment #3, bug #60207 (project findutils):

[comment #2 comment #2:]
[...]
> In parser.c, we see that -prune adds it unless -depth is set:
[...]
> And indeed, adding -depth doesn't yield the extra "[call stat] [need
type]".
[...]

Note that in any case, -prune can't be used (is ineffective) with -depth (as
expected, documented and specified by POSIX).

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
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.