diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-24 23:11:49 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-24 23:11:49 +0100 |
commit | 240583869ae477202494dd01ef1e8e2bac650f10 (patch) | |
tree | 11fc0b707bd3d9c5dba5da5f706b413373cf0824 /src/os_win32.c | |
parent | 99531a7604ce89ba82f41cdb519669abb61f3df0 (diff) | |
download | vim-git-240583869ae477202494dd01ef1e8e2bac650f10.tar.gz |
patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()v8.1.0818
Problem: MS-Windows: cannot send large data with ch_sendraw().
Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto,
closes #3823)
Diffstat (limited to 'src/os_win32.c')
-rw-r--r-- | src/os_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c index 8966053b8..6a127a44a 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -5369,7 +5369,7 @@ create_pipe_pair(HANDLE handles[2]) name, PIPE_ACCESS_OUTBOUND | FILE_FLAG_OVERLAPPED, PIPE_TYPE_BYTE | PIPE_NOWAIT, - 1, 65535, 0, 0, NULL); + 1, MAX_NAMED_PIPE_SIZE, 0, 0, NULL); if (handles[1] == INVALID_HANDLE_VALUE) return FALSE; |