equivalent change to realpath() error return as was done in master rev 60a9213035
This commit is contained in:
@@ -86,7 +86,7 @@ PBD::canonical_path (const std::string& path)
|
||||
{
|
||||
char buf[PATH_MAX+1];
|
||||
|
||||
if (!realpath (path.c_str(), buf) && (errno != ENOENT)) {
|
||||
if (!realpath (path.c_str(), buf)) {
|
||||
return path;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user