changeset 12058:e78fde22faec v8.0.0909

patch 8.0.0909: channel test fails commit https://github.com/vim/vim/commit/8ed54007399f968aab447ae6cb46623b1bdbc75e Author: Bram Moolenaar <Bram@vim.org> Date: Fri Aug 11 22:22:36 2017 +0200 patch 8.0.0909: channel test fails Problem: Channel test fails. Solution: Allow for "cwd" and "env" arguments.
author Christian Brabandt <cb@256bit.org>
date Fri, 11 Aug 2017 22:30:05 +0200
parents 2f7de53e0f79
children 4ee89f4c6b25
files src/channel.c src/version.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/channel.c
+++ b/src/channel.c
@@ -4976,8 +4976,9 @@ job_start(typval_T *argvars, jobopt_T *o
 	clear_job_options(&opt);
 	opt.jo_mode = MODE_NL;
 	if (get_job_options(&argvars[1], &opt,
-	    JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT
-			 + JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE, 0) == FAIL)
+		    JO_MODE_ALL + JO_CB_ALL + JO_TIMEOUT_ALL + JO_STOPONEXIT
+			 + JO_EXIT_CB + JO_OUT_IO + JO_BLOCK_WRITE,
+		     JO2_ENV + JO2_CWD) == FAIL)
 	    goto theend;
     }
 
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    909,
+/**/
     908,
 /**/
     907,