Mercurial > vim
comparison src/testdir/test_channel_pipe.py @ 15621:bfbdef46aa7d v8.1.0818
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
commit https://github.com/vim/vim/commit/240583869ae477202494dd01ef1e8e2bac650f10
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jan 24 23:11:49 2019 +0100
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()
Problem: MS-Windows: cannot send large data with ch_sendraw().
Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
closes #3823)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 24 Jan 2019 23:15:05 +0100 |
parents | c522585ce88d |
children | 208bf8b36075 |
comparison
equal
deleted
inserted
replaced
15620:327925217fe3 | 15621:bfbdef46aa7d |
---|---|
54 print(typed[8:-1], file=sys.stderr) | 54 print(typed[8:-1], file=sys.stderr) |
55 sys.stderr.flush() | 55 sys.stderr.flush() |
56 if typed.startswith("doubleerr "): | 56 if typed.startswith("doubleerr "): |
57 print(typed[10:-1] + "\nAND " + typed[10:-1], file=sys.stderr) | 57 print(typed[10:-1] + "\nAND " + typed[10:-1], file=sys.stderr) |
58 sys.stderr.flush() | 58 sys.stderr.flush() |
59 if typed.startswith("XXX"): | |
60 print(typed, end='') | |
61 sys.stderr.flush() | |
62 break | |
59 | 63 |