mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
use almostRealPath instead of realpath closes #857
This commit is contained in:
parent
d978cdf4c6
commit
238b376b14
@ -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) ;
|
||||
|
Loading…
Reference in New Issue
Block a user