Bug ID: 212723
           Summary: cmp returns EOF for different files
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin

The following test can be used to reproduce the issue.

 echo "t" > t1 ; cp t1 t2 ; echo "t" >> t1
 cmp t1 t2

Which will produce this error message:

 cmp: EOF on t2

However, this test works perfectly:

 echo "x" > x ; echo "y" > y
 cmp x y

Which returns the expected result:

 x y differ: char 1, line 1

You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to