https://bugs.kde.org/show_bug.cgi?id=361810

--- Comment #13 from Tom Hughes <t...@compton.nu> ---
I'm pretty sure that it's a bug in glibc that should be fixed anyway - you're
only supposed to call __libc_freeres when the process is exiting and in that
case there shouldn't be any need to rewind any descriptor if you discard the
buffer.

Of course there's an interesting issue here in that I suspect forking and
calling setvbuf() on a channel in the fork will have much the same effect on
the parent that you are sharing the descriptor with...

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to