search for: _remove_tree

Displaying 1 result from an estimated 1 matches for "_remove_tree".

Did you mean: remove_tree
2011 Jan 26
1
[PATCH] Replace File::Path's remove_tree
...@@ sub _move_vols $class->_cleanup(); } +# We used to use remove_tree from File::Path here. Unfortunately it does +# something unexpected involving chdir which means it will fail bizarrely if the +# current directory (not the target directory) is not readable by the current +# user. +sub _remove_tree +{ + my $dir = shift; + + opendir(my $dh, $dir) or die user_message(__x("Unable to open {dir} while ". + "removing temporary ". + "directory: {error}", +...