mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
update semantics of PBD::remove_directory()
Remove the directory recursively including itself. The function is used in two places only: * LV2Plugin::add_state() -- no change, remove tmp. state * Session::save_as() -- on error, remove target In both cases removing the folder itself is correct.
This commit is contained in:
parent
cf761d4f67
commit
e344d379d2
3 changed files with 4 additions and 10 deletions
|
|
@ -476,6 +476,7 @@ void
|
|||
remove_directory (const std::string& dir)
|
||||
{
|
||||
remove_directory_internal (dir, 0, 0, false);
|
||||
g_rmdir (dir.c_str());
|
||||
}
|
||||
|
||||
string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue