Mercurial > hg > mercurial-source
changeset 33469: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 | 8b2f735f0107 |
children | 12941a782928 |
files | mercurial/windows.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff