13
0

Use sys::remove instead of ::unlink in Session::import_audiofile for portability

git-svn-id: svn://localhost/ardour2/trunk@2663 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Tim Mayberry 2007-11-15 02:31:39 +00:00
parent da48c50527
commit a45598ec2a

View File

@ -259,7 +259,7 @@ Session::import_audiofile (import_status& status)
status.sources.clear ();
for (vector<string>::iterator i = new_paths.begin(); i != new_paths.end(); ++i) {
unlink ((*i).c_str());
sys::remove (*i);
}
}