File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -5127,6 +5127,7 @@ mch_job_status(job_T *job)
51275127 || dwExitCode != STILL_ACTIVE )
51285128 {
51295129 job -> jv_status = JOB_ENDED ;
5130+ job -> jv_exitval = (int )dwExitCode ;
51305131 return "dead" ;
51315132 }
51325133 return "run" ;
Original file line number Diff line number Diff line change @@ -1257,14 +1257,14 @@ struct jobvar_S
12571257 job_T * jv_prev ;
12581258#ifdef UNIX
12591259 pid_t jv_pid ;
1260- int jv_exitval ;
12611260#endif
12621261#ifdef WIN32
12631262 PROCESS_INFORMATION jv_proc_info ;
12641263 HANDLE jv_job_object ;
12651264#endif
12661265 jobstatus_T jv_status ;
12671266 char_u * jv_stoponexit ; /* allocated */
1267+ int jv_exitval ;
12681268 char_u * jv_exit_cb ; /* allocated */
12691269
12701270 int jv_refcount ; /* reference count */
Original file line number Diff line number Diff line change @@ -747,6 +747,8 @@ static char *(features[]) =
747747
748748static int included_patches [] =
749749{ /* Add new patch number below this line */
750+ /**/
751+ 1381 ,
750752/**/
751753 1380 ,
752754/**/
You can’t perform that action at this time.
0 commit comments