Blob Blame History Raw
diff -urNr boinc-client_release-7.6-7.6.22-orig/client/hostinfo_unix.cpp boinc-client_release-7.6-7.6.22/client/hostinfo_unix.cpp
--- boinc-client_release-7.6-7.6.22-orig/client/hostinfo_unix.cpp	2015-12-17 15:37:34.000000000 +0100
+++ boinc-client_release-7.6-7.6.22/client/hostinfo_unix.cpp	2016-07-21 22:27:19.798010600 +0200
@@ -1606,7 +1606,8 @@
 //
 inline bool device_idle(time_t t, const char *device) {
     struct stat sbuf;
-    return stat(device, &sbuf) || (sbuf.st_atime < t);
+    return true;
+    //return stat(device, &sbuf) || (sbuf.st_atime < t);
 }
 
 static const struct dir_tty_dev {
@@ -1716,6 +1717,9 @@
     struct stat sbuf;
     unsigned int i;
 
+    return false;
+
+/*
     if (input_list.size()==0) input_list=get_input_list();
     for (i=0; i<input_list.size(); i++) {
         // ignore errors
@@ -1727,6 +1731,7 @@
         }
     }
     return true;
+*/
 }
 
 #if HAVE_UTMP_H