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: [email protected]
          Reporter: [email protected]

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.

Reply via email to