patch 9.1.2084: Compile error when build with job feature
Commit:
https://github.com/vim/vim/commit/dc47097423c5500ba8eedfcf0fb4ff14f3d924b8
Author: John Marriott <[email protected]>
Date: Tue Jan 13 21:29:26 2026 +0000
patch 9.1.2084: Compile error when build with job feature
Problem: Compile error when build with job feature (after v9.1.2077)
Solution: Add ifdefs (John Marriott).
related: #19076
Signed-off-by: John Marriott <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/list.c b/src/list.c
index 4579d3dad..c3d7b5a2b 100644
--- a/src/list.c
+++ b/src/list.c
@@ -792,8 +792,10 @@ list_append_new_item(list_T *l)
case VAR_PARTIAL: tv.vval.v_partial = NULL; break;
case VAR_LIST: tv.vval.v_list = list_alloc(); break;
case VAR_DICT: tv.vval.v_dict = dict_alloc(); break;
+#ifdef FEAT_JOB_CHANNEL
case VAR_JOB: tv.vval.v_job = NULL; break;
case VAR_CHANNEL: tv.vval.v_channel = NULL; break;
+#endif
case VAR_CLASS:
if (l->lv_type != NULL && l->lv_type->tt_member != NULL)
tv.vval.v_class = l->lv_type->tt_member->tt_class;
diff --git a/src/version.c b/src/version.c
index 87702d84b..0d09cef03 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2084,
/**/
2083,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1vfmCG-00BWs2-5m%40256bit.org.