Reverted my commit which reverted Radek Doulik's change.

Sorry for being stupid, but I run the diff in the wrong direction; his
patch was absolutely correct.

Martin
This commit is contained in:
Martin Baulig
1999-09-29 10:23:04 +00:00
parent 5656ad7f6c
commit be4c952542
2 changed files with 5 additions and 1 deletions

View File

@@ -158,7 +158,7 @@ glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
if (which & GLIBTOP_EXCLUDE_IDLE) {
glibtop_get_proc_state_s (server, &procstate, pid);
if (procstate.flags & (1L << GLIBTOP_PROC_STATE_STATE))
if (procstate.state != 'R') continue;
if (!(procstate.state & GLIBTOP_PROCESS_RUNNING)) continue;
}
if (which & GLIBTOP_EXCLUDE_SYSTEM) {