Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:lxde
slim
slim-1.3.5-disable_log.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File slim-1.3.5-disable_log.patch of Package slim
Index: slim-1.3.5/log.cpp =================================================================== --- slim-1.3.5.orig/log.cpp +++ slim-1.3.5/log.cpp @@ -5,9 +5,11 @@ bool LogUnit::openLog(const char * filename) { if (logFile.is_open()) { + /* cerr << APPNAME << ": opening a new Log file, while another is already open" << endl; + */ logFile.close(); } logFile.open(filename, ios_base::app); @@ -18,6 +20,9 @@ LogUnit::openLog(const char * filename) void LogUnit::closeLog() { - if (logFile.is_open()) + if (logFile.is_open()) { logFile.close(); + } else { + cerr << APPNAME << ": closing Log file, while is already closed" << endl; + } }
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