Re: File-Compare "fc" falsely reports mismatch between identical files

Tech-Archive recommends: Fix windows errors by optimizing your registry



foxidrive wrote:

It is conceivable that a fairly large binary file may not contain a CR/LF
pair and so the buffer overflows when comparing in text mode.

Certainly possible, but would two copies of the same file overflow in
different places? Apparently that's what happened.

Interestingly,
fc IMG_0001.dcm.raw file.bin
reported differences, but
fc file.bin IMG_0001.dcm.raw
reported match identically

- Rich
.


Quantcast