diff options
author | Carl Hetherington <carl@carlh.net> | 2012-05-28 16:32:41 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-05-28 16:32:41 +0000 |
commit | 7eb8a33910bfdab21b98d794dc731bc8e8557cb9 (patch) | |
tree | 8a22b28badb6f4bdfd9c9660c50f6e5c1605e8c9 /libs/ardour/ardour/utils.h | |
parent | d825f20a324dc05fae612b748c579c22df88a471 (diff) |
Add path_is_within to decide if a path is within a given
directory, taking symlinks into account, and use it to
decide whether a file is within the session folder. Should
fix #4552.
git-svn-id: svn://localhost/ardour2/branches/3.0@12468 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/utils.h')
-rw-r--r-- | libs/ardour/ardour/utils.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h index 7eba3fa18c..5052f03bab 100644 --- a/libs/ardour/ardour/utils.h +++ b/libs/ardour/ardour/utils.h @@ -61,7 +61,6 @@ std::string path_expand (std::string); /* single file path */ std::string search_path_expand (std::string); /* colon-separated search path */ std::string region_name_from_path (std::string path, bool strip_channels, bool add_channel_suffix = false, uint32_t total = 0, uint32_t this_one = 0); bool path_is_paired (std::string path, std::string& pair_base); -bool inodes_same (const std::string &, const std::string &); void compute_equal_power_fades (ARDOUR::framecnt_t nframes, float* in, float* out); |