diff options
author | Robin Gareus <robin@gareus.org> | 2014-02-26 20:43:43 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-02-26 20:43:43 +0100 |
commit | 3b8ba073fc5df98ca3426fb20706779be3352702 (patch) | |
tree | c953a4ff4336a20b7a0e83cdd6cb8865ff5c3c58 /libs/ardour/filesystem_paths.cc | |
parent | 4aaae2eb3ba65f97e173b1751e1ee3bec8925ed5 (diff) |
add note to filesystem paths
used e.g. for personal (non system wide) VST cache.
Diffstat (limited to 'libs/ardour/filesystem_paths.cc')
-rw-r--r-- | libs/ardour/filesystem_paths.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/ardour/filesystem_paths.cc b/libs/ardour/filesystem_paths.cc index 5228e85527..a523e35730 100644 --- a/libs/ardour/filesystem_paths.cc +++ b/libs/ardour/filesystem_paths.cc @@ -95,9 +95,12 @@ user_cache_directory () #else const char* c = 0; - /* adopt freedesktop standards, and put .ardour3 into $XDG_CONFIG_HOME or ~/.config + /* adopt freedesktop standards, and put .ardour3 into $XDG_CACHE_HOME + * defaulting to or ~/.config + * + * NB this should work on windows, too, but we may want to prefer + * PBD::get_platform_fallback_folder (PBD::FOLDER_VST) or someplace */ - if ((c = getenv ("XDG_CACHE_HOME")) != 0) { p = c; } else { |