https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212723
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
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
CC: [email protected]
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"