Page MenuHomeFreeBSD

D44163.id.diff
No OneTemporary

D44163.id.diff

diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -42,6 +42,17 @@
/* Size of the stdio buffer given to stdout */
#define Buffersize 2048
+#ifdef TOP_SHOW_ARGS
+#define SHOW_ARGS true
+#else
+#define SHOW_ARGS false
+#endif
+#ifdef TOP_PCPU_STATS
+#define PCPU_STATS true
+#else
+#define PCPU_STATS false
+#endif
+
char copyright[] =
"Copyright (c) 1984 through 1996, William LeFebvre";
@@ -51,8 +62,8 @@
static char stdoutbuf[Buffersize];
static int fmt_flags = 0;
-int show_args = false;
-int pcpu_stats = false;
+int show_args = SHOW_ARGS;
+int pcpu_stats = PCPU_STATS;
/* signal handling routines */
static sigret_t leave(int);

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 8, 7:58 PM (12 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31048422
Default Alt Text
D44163.id.diff (704 B)

Event Timeline