summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2021-01-05 14:53:07 +0100
committerBenBE <BenBE@geshi.org>2021-01-11 20:12:34 +0100
commitd9240999e9503fc975f728217b3d06a5f0ed4196 (patch)
tree8eb7c17f6126af48aed5dc20b431495adb780386 /Process.h
parent70f48f1f44bf419aac77de8664816a17122c8b29 (diff)
Process: drop commLen
It is only used on Linux to optimize memory handling in case the command changes to a smaller-or-equal string. This "optimization" however causes more code bloat and maintenance cost on string handling issues than it gains.
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Process.h b/Process.h
index 1a88a632..15e4057a 100644
--- a/Process.h
+++ b/Process.h
@@ -66,7 +66,6 @@ typedef struct Process_ {
pid_t ppid;
pid_t tgid;
char* comm; /* use Process_getCommand() for Command actually displayed */
- int commLen;
int indent;
int basenameOffset;

© 2014-2024 Faster IT GmbH | imprint | privacy policy