Mercurial > public > mercurial-scm > hg-stable
diff mercurial/windows.py @ 32706:605f124d1146
windows: do not close stdout on flush() failure
It's been there since e817c68edfed (2007-02-19), but seems wrong since any
I/O operations to a closed file would raise ValueError, not IOError. We should
keep the file object open even if the underlying file descriptor is half dead.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 05 Jun 2017 23:36:35 +0900 |
parents | a9c71d578a1c |
children | 739cc0f9cbb4 |
line wrap: on
line diff