[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kdm/backend
From:       Raphael Kubo da Costa <kubito () gmail ! com>
Date:       2010-05-16 21:39:07
Message-ID: 20100516213907.70BDAAC8B8 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1127536 by rkcosta:

Fix compilation on systems without utmpx (and thus no ut_pid).

CCMAIL: l.lunak@kde.org


 M  +1 -1      util.c  


--- trunk/KDE/kdebase/workspace/kdm/backend/util.c #1127535:1127536
@@ -664,9 +664,9 @@
 # endif
 		   )
 		{
-#endif
 			if (ut->ut_pid <= 0 || (kill (ut->ut_pid, 0) < 0 && errno == ESRCH))
 				continue; /* ignore stale utmp entries */
+#endif
 			if (*ut->ut_host) { /* from remote or x */
 				if (!(flags & lstRemote))
 					continue;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic