summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-02-07 18:49:51 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2014-02-07 18:49:51 -0500
commit89d5be353addf41e0d6cdf5c70cdc988a0c3d19a (patch)
treecce595db0d6f0d4bdaa4a0cc18be11f1320eb4df /libs
parent2b9421fd391efcddde0be3397cb66e19b744a155 (diff)
equivalent change to realpath() error return as was done in master rev 60a9213035d3c
Diffstat (limited to 'libs')
-rw-r--r--libs/pbd/pathexpand.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/pbd/pathexpand.cc b/libs/pbd/pathexpand.cc
index 26454e4164..3398bd1152 100644
--- a/libs/pbd/pathexpand.cc
+++ b/libs/pbd/pathexpand.cc
@@ -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;
}