[Konsole-devel] [konsole] [Bug 325442] Constant loop reading of /etc/passwd from /proc updates

Kurt Hindenburg via KDE Bugzilla bugzilla_noreply at kde.org
Tue May 31 00:01:13 UTC 2016


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

--- Comment #5 from Kurt Hindenburg <kurt.hindenburg at gmail.com> ---
Git commit 0edded4975b6c687d6c8b671b13dadf498e76b7f by Kurt Hindenburg.
Committed on 30/05/2016 at 23:58.
Pushed by hindenburg into branch 'master'.

Only readUserName if tab title format has %u

readUserName() reads /etc/passwd every few seconds.  Change it to only
do this if we need to replace %u with the user name in the tab title.

A temporary helper as this doesn't really fix the underlining issue.
ProcessInfo really needs re-worked.

M  +37   -21   src/ProcessInfo.cpp
M  +8    -3    src/ProcessInfo.h
M  +4    -2    src/Session.cpp

http://commits.kde.org/konsole/0edded4975b6c687d6c8b671b13dadf498e76b7f

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list