* Paul Eggert ([email protected]) [20100819 21:28]:

> Where is the source code that your distribution currently uses?

The Source rpm is here:
http://software.opensuse.org/search/download?base=openSUSE%3A11.1&file=openSUSE%3A%2F11.1%2Fstandard%2Fsrc%2Fdiffutils-2.8.7-143.11.src.rpm&query=diffutils

> http://git.savannah.gnu.org/cgit/diffutils.git/commit/?id=b50a16567acff496bdf3ac0004809b6dcc88c2d6

As this basically does the same thing as my patch I'll use this.

> By the way, this patch works around bugs in freopen on Solaris and *BSD,
> and it appears that those bugs are in SUSE too, so you might want to
> further investigate that.  I don't observe similar problems in Ubuntu.

This would be a bug in glibc then. But I don't see where the bug would be.
Freopen basically rewinds the FILE pointer which is impossible on devices
like sockets.

Philipp

Reply via email to