Patch 8.2.4488

9 views
Skip to first unread message

Bram Moolenaar

unread,
Mar 1, 2022, 2:53:27 PM3/1/22
to vim...@googlegroups.com

Patch 8.2.4488 (after 8.2.4487)
Problem: Build error with +eval but without +channel or +job.
Solution: Add #ifdef. (John Marriott)
Files: src/typval.c


*** ../vim-8.2.4487/src/typval.c 2022-03-01 19:23:20.544357315 +0000
--- src/typval.c 2022-03-01 19:48:57.457236819 +0000
***************
*** 1394,1403 ****
--- 1394,1407 ----
switch (tv->v_type)
{
case VAR_BLOB: return tv->vval.v_blob == NULL;
+ #ifdef FEAT_JOB_CHANNEL
case VAR_CHANNEL: return tv->vval.v_channel == NULL;
+ #endif
case VAR_DICT: return tv->vval.v_dict == NULL;
case VAR_FUNC: return tv->vval.v_string == NULL;
+ #ifdef FEAT_JOB_CHANNEL
case VAR_JOB: return tv->vval.v_job == NULL;
+ #endif
case VAR_LIST: return tv->vval.v_list == NULL;
case VAR_PARTIAL: return tv->vval.v_partial == NULL;
case VAR_STRING: return tv->vval.v_string == NULL;
*** ../vim-8.2.4487/src/version.c 2022-03-01 19:23:20.544357315 +0000
--- src/version.c 2022-03-01 19:50:35.341043179 +0000
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 4488,
/**/

--
hundred-and-one symptoms of being an internet addict:
134. You consider bandwidth to be more important than carats.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages