commit | f52f0606ed9ea19bcfc3a8343af9958f2d99eaf7 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Mar 10 21:26:37 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Mar 10 21:26:37 2021 +0100 |
tree | 1fd2ccebf68aca966d10acdacf36a99badea66c5 | |
parent | c23555de346c53f8f6c478635c2d9e5f2992dd7f [diff] [blame] |
patch 8.2.2586: process id may be invalid Problem: Process id may be invalid. Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo van der Sanden, closes #7947)
diff --git a/src/config.h.in b/src/config.h.in index 5d01e2c..fbf4b24 100644 --- a/src/config.h.in +++ b/src/config.h.in
@@ -213,6 +213,7 @@ #undef HAVE_SYSCTL #undef HAVE_SYSINFO #undef HAVE_SYSINFO_MEM_UNIT +#undef HAVE_SYSINFO_UPTIME #undef HAVE_TGETENT #undef HAVE_TOWLOWER #undef HAVE_TOWUPPER