aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2001-06-21 09:39:21 +0800
committerlioux <lioux@FreeBSD.org>2001-06-21 09:39:21 +0800
commit16bb0e6c2662640bdfd48c5ea1aae71d8df5360a (patch)
treeeb48b9ab23e0a46a0e8838820de31b592fd8d845 /sysutils
parent0a7f5d5bfe8c2aa5971031dd6bd630fd4658f320 (diff)
downloadfreebsd-ports-gnome-16bb0e6c2662640bdfd48c5ea1aae71d8df5360a.tar.gz
freebsd-ports-gnome-16bb0e6c2662640bdfd48c5ea1aae71d8df5360a.tar.zst
freebsd-ports-gnome-16bb0e6c2662640bdfd48c5ea1aae71d8df5360a.zip
- This patch is unnecessary for port version 0.84 added in rev 1.5
of Makefile - Overlook on port update PR: 28266 Submitted by: Patrick Li <pat@databits.net>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wmtop/files/patch-ab55
1 files changed, 0 insertions, 55 deletions
diff --git a/sysutils/wmtop/files/patch-ab b/sysutils/wmtop/files/patch-ab
deleted file mode 100644
index 58178b734998..000000000000
--- a/sysutils/wmtop/files/patch-ab
+++ /dev/null
@@ -1,55 +0,0 @@
---- wmtop.c.orig Wed May 17 05:08:20 2000
-+++ wmtop.c Wed Sep 20 03:48:43 2000
-@@ -78,6 +78,10 @@
- */
- int mode = 0;
-
-+#if defined(FREEBSD)
-+int show_system = 0;
-+#endif
-+
- #if defined(DEBUG)
- /*
- * Memory handler
-@@ -234,7 +238,7 @@
- char deparenthesised_name[WMTOP_BUFLENGTH];
- #endif /* defined(LINUX) */
- #if defined(FREEBSD)
-- int us,um,ks,km;
-+ int us,um,ks,km,ppid;
- #endif /* defined(FREEBSD) */
-
- #if defined(PARANOID)
-@@ -298,11 +302,18 @@
- * Extract cpu times from data in /proc/<pid>/stat
- * XXX: Process name extractor for FreeBSD is untested right now.
- */
-- rc = sscanf(line,"%s %*s %*s %*s %*s %*s %*s %*s %d,%d %d,%d",
-- procname,
-+ rc = sscanf(line,"%s %*s %d %*s %*s %*s %*s %*s %d,%d %d,%d",
-+ procname, &ppid,
- &us,&um,&ks,&km);
- if (rc<5)
- return 1;
-+
-+ if (ppid == 0 && !show_system)
-+ {
-+ process->time_stamp=0;
-+ return 1;
-+ }
-+
- if (process->name)
- wmtop_free(process->name);
- process->name = wmtop_strdup(procname);
-@@ -725,6 +736,11 @@
- i++;
- }
- break;
-+#if defined (FREEBSD)
-+ case 'S':
-+ show_system = 1;
-+ break;
-+#endif
- case 'r':
- if (argc > (i+1)) {
- refresh_rate = (atoi(argv[i+1]) * 1000);