summaryrefslogtreecommitdiffstats
path: root/redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
committerFrançois Andriot <[email protected]>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch')
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch b/redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch
deleted file mode 100644
index 1a80c00f1..000000000
--- a/redhat/kdebase/kdebase-3.5.13-fix_kdm_cpu_usage.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-commit 1e2983ad0107fb1d26e3e9931528701f30632c6d
-Author: Timothy Pearson <[email protected]>
-Date: 1326856834 -0600
-
- Fix kdm_greet high CPU usage
- Clean up a few build warnings
-
-diff --git a/kdm/kfrontend/kgreeter.cpp b/kdm/kfrontend/kgreeter.cpp
-index 9b974cc..5877cb6 100644
---- a/kdm/kfrontend/kgreeter.cpp
-+++ b/kdm/kfrontend/kgreeter.cpp
-@@ -273,6 +273,9 @@ void KGreeter::handleInputPipe(void) {
- readbuf[numread] = 0;
- readbuf[2047] = 0;
- inputcommand += readbuf;
-+ if (!tqApp->hasPendingEvents()) {
-+ usleep(500);
-+ }
- tqApp->processEvents();
- }
- if (closingDown) {
-@@ -508,11 +511,11 @@ KGreeter::insertUsers(int limit_users)
- int count = 0;
- for (setpwent(); (ps = getpwent()) != 0;) {
- if (*ps->pw_dir && *ps->pw_shell &&
-- (ps->pw_uid >= (unsigned)_lowUserId ||
-- !ps->pw_uid && _showRoot) &&
-- ps->pw_uid <= (unsigned)_highUserId &&
-- !noUsers.hasUser( ps->pw_name ) &&
-- !noUsers.hasGroup( ps->pw_gid ))
-+ ((ps->pw_uid >= (unsigned)_lowUserId) ||
-+ ((!ps->pw_uid) && _showRoot)) &&
-+ (ps->pw_uid <= (unsigned)_highUserId) &&
-+ (!noUsers.hasUser( ps->pw_name )) &&
-+ (!noUsers.hasGroup( ps->pw_gid )))
- {
- TQString username( TQFile::decodeName( ps->pw_name ) );
- if (!dupes.find( username )) {
-@@ -574,7 +577,7 @@ KGreeter::insertUsers(int limit_users)
- for (setpwent(); (ps = getpwent()) != 0;) {
- if (*ps->pw_dir && *ps->pw_shell &&
- (ps->pw_uid >= (unsigned)_lowUserId ||
-- !ps->pw_uid && _showRoot) &&
-+ ((!ps->pw_uid) && _showRoot)) &&
- ps->pw_uid <= (unsigned)_highUserId &&
- (users.hasUser( ps->pw_name ) ||
- users.hasGroup( ps->pw_gid )))