[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-diffutils] bug#16608: bug#16608: Bug#737180: diffutils: diff exit s
[bug-diffutils] bug#16608: bug#16608: Bug#737180: diffutils: diff exit status is 2 instead of 1 on binary files that differ (fwd)
Fri, 31 Jan 2014 17:21:42 -0800
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
Vincent Lefevre wrote:
POSIX actually specifies the behavior:
Ouch, right you are. I recall reading POSIX and coming to the opposite
conclusion, that the behavior was not specified. Perhaps this was long
ago and input files were required to be text files.
Anyway, since it's incompatible with other 'diff' implementations and
with POSIX, and since there's not a particularly strong reason to
differ, let's change to be compatible. I applied the attached patch to
the savannah master and am taking the liberty of marking this as done;
please give it a try.
Description: Text document