Saturday, June 14, 2014

deb package: compiling vim-tiny will fail with out ifdef for FEAT AUTOCMD in window.c

Hello, lists

Compilation of Vim 7.4.325 without AUTOCMD feature will fail with
"undeclared autocmd_busy...".

This is due to missing ifdef in window.c around line 4600.

     if (autocmd_busy)
    {
wp->w_next = au_pending_free_win;
au_pending_free_win = wp;
    }
    else
vim_free(wp);

This should be changed to...

#ifdef FEAT AUTOCMD
    if (autocmd_busy)
    {
wp->w_next = au_pending_free_win;
au_pending_free_win = wp;
    }
    else

No comments:

Post a Comment