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: Philipp Thomas
Subject: Re: [bug-diffutils] Funny behaviour of diff 2.8.1
Date: Wed, 18 Aug 2010 17:14:09 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

* Philipp Thomas (address@hidden) [20100816 11:46]:

> I will build a 3.0 package with our patches applied and then do the strace
> before and after.

I now had time to do so and diff 3.0 does not show the mentioned behaviour.

Diff 2.8.7 however does show this behaviour and as it is used in both Suse
Linux Enterprise 11 and openSUSE 11.X I will have to fix the behaviour. 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

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

Philipp

-- 
Keyboard with power supply made by Commodore64.
                                           -- Seen on eBay



reply via email to

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