Date: Wed, 11 Feb 2026 16:02:06 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 293116] diff incorrectly reports "Directory loop detected" Message-ID: <bug-293116-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293116 Bug ID: 293116 Summary: diff incorrectly reports "Directory loop detected" Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: bakul@iitbombay.org diff reports "Directory loop detected" even when there isn't such a loop. Simple test: cd /tmp mkdir -p x/b y/a y/b # /tmp/x and /tmp/y don't exist ln -s b x/a diff -r x y It will report diff: x/b: Directory loop detected The issue seems to be following symlinks when it shouldn't. There is a command line option "--no-deference" but that is not quite right. Note that gdiff does not have this problem. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-293116-227>
