13
0

equivalent change to realpath() error return as was done in master rev 60a9213035

This commit is contained in:
Paul Davis 2014-02-07 18:49:51 -05:00
parent 2b9421fd39
commit 89d5be353a

View File

@ -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;
}