Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
boinc-client
bnc_439037.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File bnc_439037.patch of Package boinc-client
diff -Naur boinc-6.2.18/client/hostinfo_unix.C boinc-6.2.18-mp/client/hostinfo_unix.C --- boinc-6.2.18/client/hostinfo_unix.C 2008-08-25 20:29:18.000000000 +0000 +++ boinc-6.2.18-mp/client/hostinfo_unix.C 2008-11-03 17:50:19.000000000 +0000 @@ -248,7 +248,7 @@ // we need to find the right ac adapter first DirScanner dir("/proc/acpi/ac_adapter/"); while (dir.scan(ac_name)) { - if ((ac_name.c_str()==".")||(ac_name.c_str()=="..")) continue; + if ((strcmp(ac_name.c_str(),".")==0)||(strcmp(ac_name.c_str(),"..")==0)) continue; // newer ACPI versions use "state" as filename sprintf(ac_state, "/proc/acpi/ac_adapter/%s/state", ac_name.c_str());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor