]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 8.0.0909: channel test fails v8.0.0909
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Aug 2017 20:22:36 +0000 (22:22 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Aug 2017 20:22:36 +0000 (22:22 +0200)
Problem:    Channel test fails.
Solution:   Allow for "cwd" and "env" arguments.

src/channel.c
src/version.c

index b220f7166b71be4dd273ca4fb8e6c598b2a25588..58b0b0c9ac7b78a6fc35f636d8ed57e2a6fb9c0d 100644 (file)
@@ -4976,8 +4976,9 @@ job_start(typval_T *argvars, jobopt_T *opt_arg)
        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;
     }
 
index acc855c874995ec344b1cc2b5cea5bf4e2715f75..741c4a235b69392ffad262d85187910b6a347cc1 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    909,
 /**/
     908,
 /**/