From 89d5be353addf41e0d6cdf5c70cdc988a0c3d19a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 7 Feb 2014 18:49:51 -0500 Subject: [PATCH] equivalent change to realpath() error return as was done in master rev 60a9213035d3c --- libs/pbd/pathexpand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2