memline: process_still_running is bool

This commit is contained in:
Jan Edmund Lazo 2018-10-13 17:16:42 -04:00
parent 726baefdf7
commit 12376cc01c

View File

@ -1449,7 +1449,7 @@ static char *make_percent_swname(const char *dir, char *name)
}
#ifdef UNIX
static int process_still_running;
static bool process_still_running;
#endif
/*
@ -1528,7 +1528,7 @@ static time_t swapfile_info(char_u *fname)
#if defined(UNIX)
if (kill((pid_t)char_to_long(b0.b0_pid), 0) == 0) {
MSG_PUTS(_(" (STILL RUNNING)"));
process_still_running = TRUE;
process_still_running = true;
}
#endif
}
@ -3349,7 +3349,7 @@ static char *findswapname(buf_T *buf, char **dirp, char *old_fname,
int choice = 0;
#ifdef UNIX
process_still_running = FALSE;
process_still_running = false;
#endif
/*
* If there is a SwapExists autocommand and we can handle