Assume no filesystem links on windows
authorPaul Davis <paul@linuxaudiosystems.com>
Sat, 13 Jul 2013 12:20:45 +0000 (08:20 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sat, 13 Jul 2013 12:20:45 +0000 (08:20 -0400)
gtk2_ardour/sfdb_ui.cc

index e8db9d493925fddcaa7cb4fc78080a20289de715..482a3b61b7a2c42b248d360b8de2bd51ed39385d 100644 (file)
@@ -1463,6 +1463,9 @@ SoundFileOmega::check_info (const vector<string>& paths, bool& same_size, bool&
 bool
 SoundFileOmega::check_link_status (const Session* s, const vector<string>& paths)
 {
+#ifdef WIN32
+       return false;
+#else
        std::string tmpdir(Glib::build_filename (s->session_directory().sound_path(), "linktest"));
        bool ret = false;
 
@@ -1492,6 +1495,7 @@ SoundFileOmega::check_link_status (const Session* s, const vector<string>& paths
   out:
        rmdir (tmpdir.c_str());
        return ret;
+#endif
 }
 
 SoundFileChooser::SoundFileChooser (string title, ARDOUR::Session* s)