Follow-up Comment #3, bug #19605 (project findutils): You are confusing directory loops and symlink loops, which are completely different things. In a directory loop, a symlink points up to a parent directory of the symlink. A stat() of the symlink succeeds. In a symlink loop the symlink ends up (possibly through other symlinks) pointing to itself. A stat() of the symlink fails with ELOOP. The POSIX requirements relating to detection of directory loops have no bearing on this problem, which is about symlink loops.
It's interesting that adding -size produces the desired result, but it shouldn't make any difference. With -L (or -H), find needs to stat() each path operand in order to tell whether it resolves to a directory that it should descend into. You had your doubts about bug 11148 as well, but in the end you decided to make the change I requested. The current versions of AIX, HP-UX and Solaris all report the expected error, the same as findutils 4.2.28 does. I can see no justification for making 4.3.3 behave differently. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?19605> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-findutils mailing list Bug-findutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-findutils