changeset 8088:1b70dae3e79a v7.4.1338

commit https://github.com/vim/vim/commit/0c2c96e47c8b44f7d69da2add906224a89318ff7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 16 19:44:20 2016 +0100 patch 7.4.1338 Problem: Another part of the change is missing. Solution: Type os_unix.c right this time.
author Christian Brabandt <cb@256bit.org>
date Tue, 16 Feb 2016 19:45:06 +0100
parents 9988b210cad0
children e5d330ffb650
files src/os_unix.c src/version.c
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5037,7 +5037,7 @@ error:
 
 #if defined(FEAT_JOB) || defined(PROTO)
     void
-mch_start_job(char **argv, job_T *job)
+mch_start_job(char **argv, job_T *job, jobopt_T *options)
 {
     pid_t	pid;
     int		fd_in[2];	/* for stdin */
@@ -5127,6 +5127,7 @@ mch_start_job(char **argv, job_T *job)
 # ifdef FEAT_CHANNEL
     channel_set_pipes(channel, fd_in[1], fd_out[0], fd_err[0]);
     channel_set_job(channel, job);
+    channel_set_mode(channel, options->jo_mode);
 #  ifdef FEAT_GUI
     channel_gui_register(channel);
 #  endif
--- a/src/version.c
+++ b/src/version.c
@@ -748,6 +748,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1338,
+/**/
     1337,
 /**/
     1336,