I agree, I am not sure what I was thinking. I reviewed the code and it is indeed an error. The zero index bug I was trying to fix with that patch lives elsewhere. Thanks!
Ian On Wed, Sep 12, 2018 at 3:21 PM, Daniel Jakots <danj+o...@chown.me> wrote: > Hi, > > patches/patch-CPUMeter_c seems wrong to me. On a 4-core machine, htop > will show only 3 cpu meter. I don't really know what happen on other > machines with a different number of cores because all the machine I own > happen to have 4 cores. > > Does anyone reproduce that? I commented the 2 lines in the patch and > rebuild htop and then have the correct number of cpu meter. > > Cheers, > Daniel