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

> 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.

Not really:

$ ln -s nowhere broken
$ find -xtype l
./broken

That behaviour is documented here:
https://www.gnu.org/software/findutils/manual/html_node/find_html/Type.html

As far as what to do when encountering a symbolic link loop, I think it makes
sense to consider them the same as other forms of broken symbolic links.

    _______________________________________________________

Reply to this item at:

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

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


Reply via email to