0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 7.4.1422

Problem:    Error when reading fails uses wrong errno.  Keeping channel open
            after job stops results in test failing.
Solution:   Move the error up.  Add ch_job_killed.
This commit is contained in:
Bram Moolenaar
2016-02-26 11:17:46 +01:00
parent c8dcbb12c5
commit 46c85439c9
4 changed files with 31 additions and 13 deletions

View File

@@ -1373,6 +1373,8 @@ struct channel_S {
job_T *ch_job; /* Job that uses this channel; this does not
* count as a reference to avoid a circular
* reference. */
int ch_job_killed; /* TRUE when there was a job and it was killed
* or we know it died. */
int ch_refcount; /* reference count */
};