Follow-up Comment #4, bug #19605 (project findutils):

But find does nto need to stat() a directory entry in order to discover that
the entry itself is not a directory.  Using -size causes the loop tobe
diagnosed, because that requries a call to stat().  Determining that an item
is not a directory requires no stat call because that information is present
in struct dirent (on some systems at least).

As far as I can see, the output that find produces on stdout is correct and
matches the criteria passed to find by the user in this case.  


I believe that the current behaviour is standard-conforming unless find is
required to diagnose all symlink loops (even for nondirectories).  I am not
aware of any such requirement.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19605>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



_______________________________________________
Bug-findutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to