mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
memline: process_still_running is bool
This commit is contained in:
parent
726baefdf7
commit
12376cc01c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user