diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2021-01-05 14:53:07 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-01-11 20:12:34 +0100 |
commit | d9240999e9503fc975f728217b3d06a5f0ed4196 (patch) | |
tree | 8eb7c17f6126af48aed5dc20b431495adb780386 /Process.h | |
parent | 70f48f1f44bf419aac77de8664816a17122c8b29 (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.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |