• jim warner's avatar
    top: harden management of 'Hide_pid' array allocations · dbe12b54
    jim warner authored
    While setting the size of that Hide_pid array to equal
    total pids high water mark was probably safe, in truth
    there is no real relationship. At some point one could
    exceed that HWM if the 'v' toggle was used extensively
    and at least 1 of those entries remained non-negative.
    
    This commit simply divorces Hide_tot from the pids HWM
    and bases Hide_pid array size on actual run-time need.
    Signed-off-by: jim warner's avatarJim Warner <james.warner@comcast.net>
    dbe12b54
Name
Last commit
Last update
..
README.top Loading commit data...
top.1 Loading commit data...
top.c Loading commit data...
top.h Loading commit data...
top_nls.c Loading commit data...
top_nls.h Loading commit data...