Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Utilities
xosview
xosview-1.21-lmstemp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xosview-1.21-lmstemp.patch of Package xosview
--- linux/MeterMaker.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- linux/MeterMaker.cc +++ linux/MeterMaker.cc 2023-06-23 08:03:28.573943184 +0000 @@ -215,9 +215,12 @@ void MeterMaker::makeMeters(void){ _xos->getResourceOrUseDefault("lmstempHighest", "100") ); for (int i = 1 ; i < 1000 ; i++) { snprintf(s, 16, "lmstemp%d", i); - tempfile = _xos->getResourceOrUseDefault(s, NULL); + tempfile = (char*)_xos->getResourceOrUseDefault(s, NULL); if (!tempfile || !*tempfile) break; + std::ifstream stats(tempfile); + if (!stats) + continue; snprintf(s, 16, "lmshigh%d", i); highfile = _xos->getResourceOrUseDefault(s, NULL); snprintf(s, 16, "lmslow%d", i);
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