Problem: Cannot build without the eval feature.
Solution: Make a copy of the sourced file name.
}
si = &SCRIPT_ITEM(current_sctx.sc_sid);
si->sn_name = fname_exp;
- fname_exp = NULL;
+ fname_exp = vim_strsave(si->sn_name); // used for autocmd
# ifdef UNIX
if (stat_ok)
{
#endif
if (trigger_source_post)
- apply_autocmds(EVENT_SOURCEPOST, si->sn_name, si->sn_name,
- FALSE, curbuf);
+ apply_autocmds(EVENT_SOURCEPOST, fname_exp, fname_exp, FALSE, curbuf);
theend:
vim_free(fname_exp);
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 732,
/**/
731,
/**/