add note to filesystem paths
authorRobin Gareus <robin@gareus.org>
Wed, 26 Feb 2014 19:43:43 +0000 (20:43 +0100)
committerRobin Gareus <robin@gareus.org>
Wed, 26 Feb 2014 19:43:43 +0000 (20:43 +0100)
used e.g. for personal (non system wide) VST cache.

libs/ardour/filesystem_paths.cc

index 5228e8552723329f651b6e4afb312ca53e50b436..a523e35730f4e503079f4b26de6e52a6f4f4fd85 100644 (file)
@@ -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 {