Follow-up Comment #3, bug #51926 (project findutils):

The complexity is that "-xtype" isn't really defined for a looping link,
because xtype is a test of *the thing at the end of the chain of links* (which
doesn't exist).

Actually, there's a similar problem with an ordinary broken link (which
doesn't point to anything).

It turns out that find treats "-xtype (anything)" as false on a broken link,
which doesn't seem to be specified in the manual page.  So it would be
plausible to treat it as false on a circular link as well.

There may be an upward-compatibility problem that some users are expecting to
get the "Too many levels of symbolic links" message.


    _______________________________________________________

Reply to this item at:

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

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


Reply via email to