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 -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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 on the web visit
https://groups.google.com/d/msgid/vim_dev/20220824160724.012EC1C0D30%40moolenaar.net.