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