Follow-up Comment #2, bug #25294 (project findutils):
The assertion failure can also be reproduced with a loop:
$ mkdir example
$ ln -s loop example/loop
$ find -L example
example
find: `example/loop': Too many levels of symbolic links
assertion "state.type != 0" failed: file "ftsfind.c", line 475, function:
consider_visiting
Aborted (core dumped)
As I see it, this only depends on having a system with d_type support, but on
a file system where readdir returns DT_UNKNOWN on at least dangling symlinks.
Therefore, I think that it should be possible to find a file system under
Linux that can reproduce this failure, rather than relying on the
cygwin-specific behavior in stat'ing a dangling symlink to "//nowhere".
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25294>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/