patch 8.2.3041: detecting if the process of a swap file is running fails

Problem:    Detecting if the process of a swap file is running fails if the
            process is owned by another user.
Solution:   Check for the ESRCH error. (closes #8436)
This commit is contained in:
Bram Moolenaar
2021-06-23 21:13:20 +02:00
parent 18d46587b9
commit 44dea9da4b
2 changed files with 13 additions and 2 deletions

View File

@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
3041,
/**/
3040,
/**/