https://bugs.kde.org/show_bug.cgi?id=504435

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libksysguard/-/commit/8e |ma/libksysguard/-/commit/82
                   |d933e643598b85c67203c586a2f |d0cd19f6532f4ea571a487ab08d
                   |ec5fc9ee8d5                 |3a0b0c462dc

--- Comment #3 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 82d0cd19f6532f4ea571a487ab08d3a0b0c462dc by Arjen Hiemstra.
Committed on 19/05/2025 at 15:11.
Pushed by ahiemstra into branch 'Plasma/6.4'.

processcore: Rewrite ProcessesLinux::getIOStatistics to be less confusing

Apparently this was reading the entire file and then assuming a certain
order of fields. This was pretty hard to follow code that broke easily
because it was using a different pattern from the rest of the functions.
Change it to read line by line and check which field we are reading.
This should make things a fair bit more robust and easier to read.


(cherry picked from commit 8ed933e643598b85c67203c586a2fec5fc9ee8d5)

Co-authored-by: Arjen Hiemstra <ahiems...@heimr.nl>

M  +14   -28   processcore/processes_linux_p.cpp

https://invent.kde.org/plasma/libksysguard/-/commit/82d0cd19f6532f4ea571a487ab08d3a0b0c462dc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to