Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
exiv2
90_changeset_r3061.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 90_changeset_r3061.diff of Package exiv2
Index: trunk/src/futils.cpp =================================================================== --- trunk/src/futils.cpp (revision 3060) +++ trunk/src/futils.cpp (revision 3061) @@ -69,7 +69,7 @@ bool fileExists(const std::string& path, bool ct) { struct stat buf; - int ret = ::stat(path.c_str(), &buf); + int ret = ::stat(path.c_str(), &buf); if (0 != ret) return false; if (ct && !S_ISREG(buf.st_mode)) return false; return true; @@ -104,6 +104,9 @@ strerror_r(error, buf, n); # endif os << buf; + // Issue# 908. + // report strerror() if strerror_r() returns empty + if ( !buf[0] ) os << strerror(error); #else os << std::strerror(error); #endif
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