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:
parent
da48c50527
commit
a45598ec2a
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user