Patch 9.0.0255 (after 9.0.0253)
Problem: Build failure without the eval feature.
Solution: Add #ifdef.
Files: src/scriptfile.c
*** ../vim-9.0.0254/src/scriptfile.c 2022-08-24 16:30:30.690752449 +0100
--- src/scriptfile.c 2022-08-24 17:02:34.262323099 +0100
***************
*** 1775,1780 ****
--- 1775,1781 ----
apply_autocmds(EVENT_SOURCEPOST, fname_exp, fname_exp, FALSE, curbuf);
theend:
+ #ifdef FEAT_EVAL
if (sid > 0 && ret_sid != NULL
&& fname_not_fixed != NULL && fname_exp != NULL)
{
***************
*** 1786,1791 ****
--- 1787,1793 ----
if (SCRIPT_ID_VALID(not_fixed_sid) && not_fixed_sid != sid)
SCRIPT_ITEM(not_fixed_sid)->sn_sourced_sid = sid;
}
+ #endif
vim_free(fname_not_fixed);
vim_free(fname_exp);
*** ../vim-9.0.0254/src/version.c 2022-08-24 16:48:19.936033180 +0100
--- src/version.c 2022-08-24 17:05:44.053964815 +0100
***************
*** 733,734 ****
--- 733,736 ----
{ /* Add new patch number below this line */
+ /**/
+ 255,
/**/
--
Dreams are free, but there's a small charge for alterations.
/// 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 ///