Mercurial > vim
comparison src/gui.h @ 13847:fa0dcdaec6a3 v8.0.1795
patch 8.0.1795: lose contact with jobs when :gui forks
commit https://github.com/vim/vim/commit/b0b98d523036d534755bf1cf79d1595e61c3f7ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 5 21:01:00 2018 +0200
patch 8.0.1795: lose contact with jobs when :gui forks
Problem: Lose contact with jobs when :gui forks.
Solution: Don't fork when there is a running job. Make log message for a
died job clearer. Also close the terminal when stderr and stdout
are the same FD.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 05 May 2018 21:15:05 +0200 |
parents | da2a9e217200 |
children | aab5947be7c5 |
comparison
equal
deleted
inserted
replaced
13846:8518f28bcda9 | 13847:fa0dcdaec6a3 |
---|---|
562 # define FUNC2GENERIC(func) (void *)(func) | 562 # define FUNC2GENERIC(func) (void *)(func) |
563 # else | 563 # else |
564 # define FUNC2GENERIC(func) G_CALLBACK(func) | 564 # define FUNC2GENERIC(func) G_CALLBACK(func) |
565 # endif | 565 # endif |
566 #endif /* FEAT_GUI_GTK */ | 566 #endif /* FEAT_GUI_GTK */ |
567 | |
568 #if defined(UNIX) && !defined(FEAT_GUI_MAC) | |
569 # define GUI_MAY_FORK | |
570 #endif |