diff src/os_unix.c @ 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 9c6740f2204f
children 18a3f0f05244
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