On 2010-08-23 09:57, Fergus wrote:
Somehow diff identifies differences in two identical binary files. In
the following example two duplicate files are located (i) in my home
directory (/m/home/user) and (ii) at the root of a different drive (D:).

[snip]
~> diff -s INTERVAL.pdf /d/INTERVAL.pdf
Files INTERVAL.pdf and /d/INTERVAL.pdf differ
~> diff -s ./INTERVAL.pdf /d/INTERVAL.pdf
Files ./INTERVAL.pdf and /d/INTERVAL.pdf differ
~> diff -s ~/INTERVAL.pdf /d/INTERVAL.pdf
Files /home/user/INTERVAL.pdf and /d/INTERVAL.pdf differ
~> diff -s /home/user/INTERVAL.pdf /d/INTERVAL.pdf
Files /home/user/INTERVAL.pdf and /d/INTERVAL.pdf differ
~> diff -s /m/home/user/INTERVAL.pdf /d/INTERVAL.pdf
Files /m/home/user/INTERVAL.pdf and /d/INTERVAL.pdf are identical

Using XP Pro SP3. This happens with the current cygwin1.dll and the
snapshot dated 20100822.

Fergus

Try using "diff --binary"


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to