Mercurial > vim
diff src/terminal.c @ 13746:260256caac38 v8.0.1745
patch 8.0.1745: build failure on MS-Windows
commit https://github.com/vim/vim/commit/2060892028e05b1325dc0759259254180669eb5e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 21 22:30:08 2018 +0200
patch 8.0.1745: build failure on MS-Windows
Problem: Build failure on MS-Windows.
Solution: Build job arguments for MS-Windows. Fix allocating job twice.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 21 Apr 2018 22:45:07 +0200 |
parents | a34b1323286c |
children | 3ab6198c1f9a |
line wrap: on
line diff
--- a/src/terminal.c +++ b/src/terminal.c @@ -5312,14 +5312,6 @@ term_and_job_init( win32_build_env(opt->jo_env, &ga_env, TRUE); env_wchar = ga_env.ga_data; - job = job_alloc(); - if (job == NULL) - goto failed; - - channel = add_channel(); - if (channel == NULL) - goto failed; - term->tl_winpty_config = winpty_config_new(0, &winpty_err); if (term->tl_winpty_config == NULL) goto failed;