13
0

fix #5076 - we failed to actually find any existing snapshots because the path scanner was passing filename only, not full paths, to the filter function which used a Glib::file_test() on it (and failed)

git-svn-id: svn://localhost/ardour2/branches/3.0@13459 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2012-11-12 17:41:04 +00:00
parent 6cc0a4abf0
commit 4a6bf110e0

View File

@ -2586,7 +2586,7 @@ Session::find_all_sources_across_snapshots (set<string>& result, bool exclude_th
ripped = ripped.substr (0, ripped.length() - 1); ripped = ripped.substr (0, ripped.length() - 1);
} }
state_files = scanner (ripped, accept_all_state_files, (void *) 0, false, true); state_files = scanner (ripped, accept_all_state_files, (void *) 0, true, true);
if (state_files == 0) { if (state_files == 0) {
/* impossible! */ /* impossible! */