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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libksysguard/-/commit/8e
                   |                            |d933e643598b85c67203c586a2f
                   |                            |ec5fc9ee8d5
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 8ed933e643598b85c67203c586a2fec5fc9ee8d5 by Arjen Hiemstra.
Committed on 19/05/2025 at 14:58.
Pushed by ahiemstra into branch 'master'.

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.

M  +14   -28   processcore/processes_linux_p.cpp

https://invent.kde.org/plasma/libksysguard/-/commit/8ed933e643598b85c67203c586a2fec5fc9ee8d5

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

Reply via email to