Mercurial > vim
changeset 15786:ec39beb7e61f v8.1.0900
patch 8.1.0900: ConPTY many crash with 32-bit build
commit https://github.com/vim/vim/commit/48773f1f83e666c49b9d88ea6a392d50215ca013
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 12 21:46:46 2019 +0100
patch 8.1.0900: ConPTY many crash with 32-bit build
Problem: ConPTY many crash with 32-bit build.
Solution: Fix function declarations. (Ken Takata, closes https://github.com/vim/vim/issues/3943)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 12 Feb 2019 22:00:06 +0100 |
parents | 235cc7c2f86a |
children | ecdf064c26a3 |
files | src/terminal.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/terminal.c +++ b/src/terminal.c @@ -5489,9 +5489,9 @@ term_getjob(term_T *term) HRESULT (WINAPI *pCreatePseudoConsole)(COORD, HANDLE, HANDLE, DWORD, HPCON*); HRESULT (WINAPI *pResizePseudoConsole)(HPCON, COORD); HRESULT (WINAPI *pClosePseudoConsole)(HPCON); -BOOL (*pInitializeProcThreadAttributeList)(LPPROC_THREAD_ATTRIBUTE_LIST, DWORD, DWORD, PSIZE_T); -BOOL (*pUpdateProcThreadAttribute)(LPPROC_THREAD_ATTRIBUTE_LIST, DWORD, DWORD_PTR, PVOID, SIZE_T, PVOID, PSIZE_T); -void (*pDeleteProcThreadAttributeList)(LPPROC_THREAD_ATTRIBUTE_LIST); +BOOL (WINAPI *pInitializeProcThreadAttributeList)(LPPROC_THREAD_ATTRIBUTE_LIST, DWORD, DWORD, PSIZE_T); +BOOL (WINAPI *pUpdateProcThreadAttribute)(LPPROC_THREAD_ATTRIBUTE_LIST, DWORD, DWORD_PTR, PVOID, SIZE_T, PVOID, PSIZE_T); +void (WINAPI *pDeleteProcThreadAttributeList)(LPPROC_THREAD_ATTRIBUTE_LIST); static int dyn_conpty_init(int verbose)