netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=e2509d5a35dfa2d352e51f80bc8765ef115ab4f7

commit e2509d5a35dfa2d352e51f80bc8765ef115ab4f7
Author: Alastair Poole <nets...@gmail.com>
Date:   Thu Dec 31 12:19:26 2020 +0000

    openbsd: slower but reliable
---
 src/bin/system/process.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bin/system/process.c b/src/bin/system/process.c
index a657604..b0f0b33 100644
--- a/src/bin/system/process.c
+++ b/src/bin/system/process.c
@@ -564,10 +564,9 @@ _process_list_openbsd_get(void)
 
         kp = &kps[i];
 
-        _proc_get(p, kp);
-        _cmd_get(p, kern, kp);
-
-        list = eina_list_append(list, p);
+        Proc_Info *p = proc_info_by_pid(kp->p_pid);
+        if (p)
+          list = eina_list_append(list, p);
      }
 
    kvm_close(kern);

-- 


Reply via email to