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: Fri, 20 Aug 2010 22:12:12 +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/20/10 15:38, Eric Blake wrote:
> freopen(NULL,"wb",stdout) has implementation-defined effects

That's true for the C standard, but POSIX is reasonably specific
about the fact that changing a file's mode from "w" to "wb" is
not a change at all, and that no file descriptors need to be
opened, duped, or allocated in order to perform this non-change.
I still think SUSE is buggy, but I realize that diffutils needs
to (and has) worked around the bug.



reply via email to

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