# HG changeset patch # User Bram Moolenaar # Date 1550005206 -3600 # Node ID ec39beb7e61ff385c7a5ef27202afa300c007ea6 # Parent 235cc7c2f86abf4dd9462d8d9112e100bd8316d7 patch 8.1.0900: ConPTY many crash with 32-bit build commit https://github.com/vim/vim/commit/48773f1f83e666c49b9d88ea6a392d50215ca013 Author: Bram Moolenaar 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) diff --git a/src/terminal.c b/src/terminal.c --- 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) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -784,6 +784,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 900, +/**/ 899, /**/ 898,