0
0
mirror of https://github.com/vim/vim.git synced 2025-10-08 06:04:08 -04:00

patch 8.1.0889: MS-Windows: a channel write may hang

Problem:    MS-Windows: a channel write may hang.
Solution:   Check for WriteFile() not writing anything. (Yasuhiro Matsumoto,
            closes #3920)
This commit is contained in:
Bram Moolenaar
2019-02-10 22:23:26 +01:00
parent 31b816042f
commit 6524068ff3
4 changed files with 26 additions and 2 deletions

View File

@@ -18,6 +18,9 @@ if __name__ == "__main__":
print(sys.argv[1], end='')
sys.stdout.flush()
sys.exit(0)
elif sys.argv[1].startswith("busy"):
time.sleep(100)
sys.exit(0)
else:
print(sys.argv[1])
sys.stdout.flush()