Patch 8.2.2947

4 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 6, 2021, 6:08:32 AM6/6/21
to vim...@googlegroups.com

Patch 8.2.2947
Problem: Build failure without the channel feature.
Solution: Add back #ifdef. (John Marriott)
Files: src/eval.c


*** ../vim-8.2.2946/src/eval.c 2021-06-05 20:51:34.737122348 +0200
--- src/eval.c 2021-06-06 11:58:05.480446243 +0200
***************
*** 5059,5064 ****
--- 5059,5065 ----

case VAR_JOB:
case VAR_CHANNEL:
+ #ifdef FEAT_JOB_CHANNEL
*tofree = NULL;
r = tv->v_type == VAR_JOB ? job_to_string_buf(tv, numbuf)
: channel_to_string_buf(tv, numbuf);
***************
*** 5067,5072 ****
--- 5068,5074 ----
*tofree = string_quote(r, FALSE);
r = *tofree;
}
+ #endif
break;

case VAR_INSTR:
*** ../vim-8.2.2946/src/version.c 2021-06-05 21:36:16.390016558 +0200
--- src/version.c 2021-06-06 12:07:45.930900896 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2947,
/**/

--
A disclaimer for the disclaimer:
"and before I get a huge amount of complaints , I have no control over the
disclaimer at the end of this mail :-)" (Timothy Aldrich)

/// 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