use almostRealPath instead of realpath closes #857

This commit is contained in:
Scott Fennell 2019-09-10 11:13:57 -05:00
parent d978cdf4c6
commit 238b376b14

View File

@ -524,7 +524,7 @@ bool PrintAttributes::isHeaderExcluded(const std::string& header, bool exclude_e
return true;
}
temp = realpath(header.c_str(),NULL);
temp = almostRealPath(header.c_str());
if ( temp ) {
const std::string real_path = std::string(temp);
free(temp) ;