HomePhabricator

chgserver: discard buffered output before restoring fds (issue6207)

Authored by yuja.

Description

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.

Details

Committed
yujaJul 20 2020, 7:31 AM
Parents
rHG3781e9f74b27: hghave: fix possible int('') in has_clang_format()
Branches
Unknown
Tags
Unknown