bug-diffutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-diffutils] Funny behaviour of diff 2.8.1


From: Paul Eggert
Subject: Re: [bug-diffutils] Funny behaviour of diff 2.8.1
Date: Thu, 19 Aug 2010 00:39:44 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6

On 08/18/10 17:14, Philipp Thomas wrote:
> IMO
> the error in 2.8.7 is this code:
> 
> #if O_BINARY
> /* Use binary I/O when reading and writing data (--binary).
>    On POSIX hosts, this has no effect.  */
> static bool binary; 
> #else
> enum { binary = true };
> #endif

I'm glad to hear that the bug is not present in
diffutils 3.0.  But I'm quite skeptical that the error
occurs in the code that you quote, since you're
quoting the 3.0 version of the code, not the
2.8.7 version.

> Which I will fix by setting binary to false instead of true.

I'm also skeptical of this fix.  Perhaps it makes
one symptom go away in one test case, but it's quite
possible that it causes problems elsewhere.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]