Handle overlaps better when executing DiffCommands.
[ardour.git] / libs / pbd / file_manager.cc
index 4d82e3d112eaa921457dec5d8ed528a31a022148..50f0f2b22d63407a5798fedb07fe2cb71f0d371c 100644 (file)
@@ -116,7 +116,7 @@ FileManager::allocate (FileDescriptor* d)
        }
 
 #ifdef __APPLE__
-       d->_last_used = get_absolute_time();
+       d->_last_used = mach_absolute_time();
 #else
        struct timespec t;
        clock_gettime (CLOCK_MONOTONIC, &t);
@@ -256,7 +256,6 @@ FdFileDescriptor::allocate ()
 void
 FileDescriptor::set_path (const string& p)
 {
-        assert (!is_open());
         _path = p;
 }