diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-10 21:26:37 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-10 21:26:37 +0100 |
commit | f52f0606ed9ea19bcfc3a8343af9958f2d99eaf7 (patch) | |
tree | 1fd2ccebf68aca966d10acdacf36a99badea66c5 /src/config.h.in | |
parent | c23555de346c53f8f6c478635c2d9e5f2992dd7f (diff) | |
download | vim-git-f52f0606ed9ea19bcfc3a8343af9958f2d99eaf7.tar.gz |
patch 8.2.2586: process id may be invalidv8.2.2586
Problem: Process id may be invalid.
Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo
van der Sanden, closes #7947)
Diffstat (limited to 'src/config.h.in')
-rw-r--r-- | src/config.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in index 5d01e2c4f..fbf4b2449 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 |