rev 4907 - trunk/packages/kdeutils/debian/patches

Christopher Martin chrsmrtn at alioth.debian.org
Tue Nov 14 22:59:48 UTC 2006


Author: chrsmrtn
Date: 2006-11-14 23:59:48 +0100 (Tue, 14 Nov 2006)
New Revision: 4907

Modified:
   trunk/packages/kdeutils/debian/patches/15_klaptopdaemon_filenames_check.diff
Log:
Compile.


Modified: trunk/packages/kdeutils/debian/patches/15_klaptopdaemon_filenames_check.diff
===================================================================
--- trunk/packages/kdeutils/debian/patches/15_klaptopdaemon_filenames_check.diff	2006-11-14 22:35:54 UTC (rev 4906)
+++ trunk/packages/kdeutils/debian/patches/15_klaptopdaemon_filenames_check.diff	2006-11-14 22:59:48 UTC (rev 4907)
@@ -151,7 +151,7 @@
  	// current frequency
  	QFile f("/proc/sys/cpu/" + cpu + "/speed");
 -	if(!f.open(IO_ReadOnly) || f.atEnd())
-+	if(!.f.exists() || !f.open(IO_ReadOnly) || f.atEnd())
++	if(!f.exists() || !f.open(IO_ReadOnly) || f.atEnd())
  		return CPUFREQ_NONE;
  	f.readLine(buffer, 16);
  	f.close();
@@ -160,7 +160,7 @@
  	for(int i = 0; i <= 1; ++i) {
  		f.setName("/proc/sys/cpu/" + cpu + "/speed-" + files[i]);
 -		if(!f.open(IO_ReadOnly) || f.atEnd())
-+		if(!.f.exists() || !f.open(IO_ReadOnly) || f.atEnd())
++		if(!f.exists() || !f.open(IO_ReadOnly) || f.atEnd())
  			return CPUFREQ_NONE;
  		f.readLine(buffer, 16);
  		f.close();




More information about the pkg-kde-commits mailing list