chgserver: discard buffered output before restoring fds (
issue6207)
On Python 3, flush() appears not discarding buffered data on EPIPE, and
the buffered data will be carried over to the restored stdout.
Added signature for changeset
28163c5de797
Added tag 5.5rc0 for changeset
28163c5de797