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