Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4
mingw32-cross-breakpad-tools
make-canonical-path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-canonical-path.patch of Package mingw32-cross-breakpad-tools
--- a/src/common/module.cc 2017-07-18 07:47:53.465528820 +0000 +++ b/src/common/module.cc 2017-07-18 07:53:24.332540684 +0000 @@ -37,6 +37,8 @@ #include <errno.h> #include <stdio.h> #include <string.h> +#include <limits.h> +#include <stdlib.h> #include <iostream> #include <utility> @@ -218,6 +220,10 @@ file_it != files_.end(); ++file_it) { File *file = file_it->second; if (file->source_id >= 0) { + char tmp[PATH_MAX+1]; + if (realpath(file->name.c_str(), tmp) != 0) + stream << "FILE " << file->source_id << " " << tmp << endl; + else stream << "FILE " << file->source_id << " " << file->name << endl; if (!stream.good()) return ReportError();
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