summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-31 15:52:11 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-31 15:52:11 +0100
commitb3051ce82f2e8af95ce3b6a41867f70aee5ecc82 (patch)
tree52f4e45e4fc81f14d02414e5c9e18036ed026dcf /src/structs.h
parent221cd9f4dd866503777b2fffa721c1403716ad63 (diff)
patch 8.1.0863: cannot see what signal caused a job to endv8.1.0863
Problem: Cannot see what signal caused a job to end. Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786)
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/structs.h b/src/structs.h
index 459103d3a4..ddc56bca4d 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1550,7 +1550,10 @@ struct jobvar_S
char_u *jv_tty_in; /* controlling tty input, allocated */
char_u *jv_tty_out; /* controlling tty output, allocated */
jobstatus_T jv_status;
- char_u *jv_stoponexit; /* allocated */
+ char_u *jv_stoponexit; /* allocated */
+#ifdef UNIX
+ char_u *jv_termsig; /* allocated */
+#endif
int jv_exitval;
char_u *jv_exit_cb; /* allocated */
partial_T *jv_exit_partial;