mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
memline: process_still_running is bool
This commit is contained in:
@@ -1449,7 +1449,7 @@ static char *make_percent_swname(const char *dir, char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
static int process_still_running;
|
static bool process_still_running;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -1528,7 +1528,7 @@ static time_t swapfile_info(char_u *fname)
|
|||||||
#if defined(UNIX)
|
#if defined(UNIX)
|
||||||
if (kill((pid_t)char_to_long(b0.b0_pid), 0) == 0) {
|
if (kill((pid_t)char_to_long(b0.b0_pid), 0) == 0) {
|
||||||
MSG_PUTS(_(" (STILL RUNNING)"));
|
MSG_PUTS(_(" (STILL RUNNING)"));
|
||||||
process_still_running = TRUE;
|
process_still_running = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@@ -3349,7 +3349,7 @@ static char *findswapname(buf_T *buf, char **dirp, char *old_fname,
|
|||||||
int choice = 0;
|
int choice = 0;
|
||||||
|
|
||||||
#ifdef UNIX
|
#ifdef UNIX
|
||||||
process_still_running = FALSE;
|
process_still_running = false;
|
||||||
#endif
|
#endif
|
||||||
/*
|
/*
|
||||||
* If there is a SwapExists autocommand and we can handle
|
* If there is a SwapExists autocommand and we can handle
|
||||||
|
Reference in New Issue
Block a user