Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:wbem
libopendrim0
libopendrim.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libopendrim.patch of Package libopendrim0
diff -wruN -x '*~' ../orig-libopendrim-1.1.4/acinclude.m4 ./acinclude.m4 --- ../orig-libopendrim-1.1.4/acinclude.m4 2010-11-23 16:26:07.000000000 +0100 +++ ./acinclude.m4 2010-11-23 16:52:11.000000000 +0100 @@ -109,9 +109,13 @@ CMPIINCLUDEDIR=/usr/include/cmpi OPENDRIMCOMMONINCLUDE=$ac_default_prefix/include/OpenDRIM else + if test x"$COMMONLIBDIR" == xNONE + then COMMONLIBDIR=$prefix/lib + fi CMPIINCLUDEDIR=/usr/include/cmpi OPENDRIMCOMMONINCLUDE=$prefix/include/OpenDRIM + fi fi diff -wruN -x '*~' ../orig-libopendrim-1.1.4/Common.cpp ./Common.cpp --- ../orig-libopendrim-1.1.4/Common.cpp 2010-11-23 16:26:07.000000000 +0100 +++ ./Common.cpp 2010-11-23 16:42:56.000000000 +0100 @@ -153,8 +153,9 @@ stderr_msg.append(buf); // print strace result into the debug file // warning: strace result is added to stderr - if (do_trace) - system(("echo \"" + (string) buf + "\" >> cmpi_prov_debug.txt").c_str()); + if (do_trace) { + int i = system(("echo \"" + (string) buf + "\" >> cmpi_prov_debug.txt").c_str()); + } continue; } @@ -487,7 +488,7 @@ int CF_lock(const struct flock& file_lock, int& fd, string& errorMessage) { _E_; const char* lock_file = "/root/.opendrim_lock"; - fd = open(lock_file, O_RDWR | O_CREAT); + fd = open(lock_file, O_RDWR | O_CREAT, 0644); if (fcntl(fd, F_SETLKW, &file_lock) == -1) { close(fd); string strerr = strerror(errno);
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