From: Bram Moolenaar Date: Thu, 10 Mar 2016 15:33:31 +0000 (+0100) Subject: patch 7.4.1530 X-Git-Tag: v7.4.1530 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=75578a388d2aff59dc330ceccd8894c79b4bc735;p=vim patch 7.4.1530 Problem: MS-Windows job_start() closes wrong handle. Solution: Close hThread on the process info. (Ken Takata) --- diff --git a/src/os_win32.c b/src/os_win32.c index a59cad2ca..50c242878 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -5126,7 +5126,7 @@ mch_start_job(char *cmd, job_T *job, jobopt_T *options) jo = NULL; } ResumeThread(pi.hThread); - CloseHandle(job->jv_proc_info.hThread); + CloseHandle(pi.hThread); job->jv_proc_info = pi; job->jv_job_object = jo; job->jv_status = JOB_STARTED; diff --git a/src/version.c b/src/version.c index c71133e91..e1ee16dce 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1530, /**/ 1529, /**/