comparison src/structs.h @ 8259:99a70c3b902f v7.4.1422

commit https://github.com/vim/vim/commit/46c85439c966d7ed39fb3d711d4d6c61ac964647 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 26 11:17:46 2016 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Fri, 26 Feb 2016 11:30:05 +0100
parents 4f0677020a43
children 108d30ed34ba
comparison
equal deleted inserted replaced
8258:c753d5773e64 8259:99a70c3b902f
1371 char_u *ch_close_cb; /* call when channel is closed */ 1371 char_u *ch_close_cb; /* call when channel is closed */
1372 1372
1373 job_T *ch_job; /* Job that uses this channel; this does not 1373 job_T *ch_job; /* Job that uses this channel; this does not
1374 * count as a reference to avoid a circular 1374 * count as a reference to avoid a circular
1375 * reference. */ 1375 * reference. */
1376 int ch_job_killed; /* TRUE when there was a job and it was killed
1377 * or we know it died. */
1376 1378
1377 int ch_refcount; /* reference count */ 1379 int ch_refcount; /* reference count */
1378 }; 1380 };
1379 1381
1380 #define JO_MODE 0x0001 /* channel mode */ 1382 #define JO_MODE 0x0001 /* channel mode */