forked from aniani/vim
patch 8.2.2588: build failure with tiny features
Problem: Build failure with tiny features. Solution: Add #ifdef. Run recover test separately.
This commit is contained in:
@@ -1100,8 +1100,11 @@ swapfile_process_running(ZERO_BL *b0p, char_u *swap_fname UNUSED)
|
|||||||
// process can't be running now.
|
// process can't be running now.
|
||||||
if (mch_stat((char *)swap_fname, &st) != -1
|
if (mch_stat((char *)swap_fname, &st) != -1
|
||||||
&& sysinfo(&sinfo) == 0
|
&& sysinfo(&sinfo) == 0
|
||||||
&& st.st_mtime < time(NULL) - (override_sysinfo_uptime >= 0
|
&& st.st_mtime < time(NULL) - (
|
||||||
? override_sysinfo_uptime : sinfo.uptime))
|
# ifdef FEAT_EVAL
|
||||||
|
override_sysinfo_uptime >= 0 ? override_sysinfo_uptime :
|
||||||
|
# endif
|
||||||
|
sinfo.uptime))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
return mch_process_running(char_to_long(b0p->b0_pid));
|
return mch_process_running(char_to_long(b0p->b0_pid));
|
||||||
|
@@ -459,6 +459,7 @@ NEW_TESTS_RES = \
|
|||||||
test_quickfix.res \
|
test_quickfix.res \
|
||||||
test_quotestar.res \
|
test_quotestar.res \
|
||||||
test_random.res \
|
test_random.res \
|
||||||
|
test_recover.res \
|
||||||
test_regex_char_classes.res \
|
test_regex_char_classes.res \
|
||||||
test_registers.res \
|
test_registers.res \
|
||||||
test_rename.res \
|
test_rename.res \
|
||||||
|
@@ -21,7 +21,6 @@ source test_jumps.vim
|
|||||||
source test_lispwords.vim
|
source test_lispwords.vim
|
||||||
source test_move.vim
|
source test_move.vim
|
||||||
source test_put.vim
|
source test_put.vim
|
||||||
source test_recover.vim
|
|
||||||
source test_reltime.vim
|
source test_reltime.vim
|
||||||
source test_scroll_opt.vim
|
source test_scroll_opt.vim
|
||||||
source test_searchpos.vim
|
source test_searchpos.vim
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2588,
|
||||||
/**/
|
/**/
|
||||||
2587,
|
2587,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user