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.
This commit is contained in:
Christian Göttsche
2021-01-05 14:53:07 +01:00
committed by BenBE
parent 70f48f1f44
commit d9240999e9
3 changed files with 7 additions and 25 deletions

View File

@ -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;