summaryrefslogtreecommitdiff
path: root/core/procps/procps-3.2.7-w-best.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/procps/procps-3.2.7-w-best.patch')
-rw-r--r--core/procps/procps-3.2.7-w-best.patch16
1 files changed, 0 insertions, 16 deletions
diff --git a/core/procps/procps-3.2.7-w-best.patch b/core/procps/procps-3.2.7-w-best.patch
deleted file mode 100644
index 86b3e9328..000000000
--- a/core/procps/procps-3.2.7-w-best.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- procps-3.2.7/w.c.kzak 2007-04-02 23:58:30.000000000 +0200
-+++ procps-3.2.7/w.c 2007-04-03 00:09:15.000000000 +0200
-@@ -149,11 +149,11 @@
- const proc_t *restrict const tmp = *pptr;
- if(unlikely(tmp->tgid == u->ut_pid)) {
- *found_utpid = 1;
-- best = tmp;
-+ if (!best)
-+ best = tmp;
- }
- if(tmp->tty != line) continue;
- (*jcpu) += tmp->utime + tmp->stime;
-- secondbest = tmp;
- /* same time-logic here as for "best" below */
- if(! (secondbest && tmp->start_time <= secondbest->start_time) ){
- secondbest = tmp;