summaryrefslogtreecommitdiff
path: root/data/top/stability.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-08-15 08:55:49 +0000
committerJay Freeman <saurik@saurik.com>2009-08-15 08:55:49 +0000
commit0fc6e098c25bab23d613247bfdec4bbb9f3da824 (patch)
tree68e44aad301510b43f60d3bf1d66c02fd29b1c89 /data/top/stability.diff
parent941b171aa5289e307200390a7810ef79f7145c00 (diff)
Various things I forgot to commit.
git-svn-id: http://svn.telesphoreo.org/trunk@670 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/top/stability.diff')
-rw-r--r--data/top/stability.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/data/top/stability.diff b/data/top/stability.diff
new file mode 100644
index 000000000..70729a518
--- /dev/null
+++ b/data/top/stability.diff
@@ -0,0 +1,13 @@
+diff -ru top-39/libtop.c top-39+iPhone/libtop.c
+--- top-39/libtop.c 2008-02-04 21:55:01.000000000 +0000
++++ top-39+iPhone/libtop.c 2009-05-13 09:13:40.000000000 +0000
+@@ -1647,6 +1647,9 @@
+ pinfo->psamp.vsize = ti.virtual_size;
+ }
+
++ if (pinfo->psamp.rprvt > 0xc0000000)
++ pinfo->psamp.rprvt = pinfo->psamp.p_rprvt;
++
+ /*
+ * Get CPU usage statistics.
+ */