Skip Menu |

This queue is for tickets about the File-Path-Tiny CPAN distribution.

Report information
The Basics
Id: 125502
Status: open
Priority: 0/
Queue: File-Path-Tiny

People
Owner: Nobody in particular
Requestors: ishigaki [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: File::Path::Tiny::rm always changes directory if there's a subdirectory
because $fast option is not passed correctly. Here's a patch. --- Tiny.pm.orig 2018-06-06 21:44:55.673839236 +0900 +++ Tiny.pm 2018-06-06 21:45:26.529838743 +0900 @@ -67,7 +67,7 @@ my $long = File::Spec->catdir( $path, $thing ); if ( !-l $long && -d _ ) { _bail_if_changed( $path, $orig_dev, $orig_ino ); - rm($long) or !-e $long or return; + rm( $long, $fast ) or !-e $long or return; } else { _bail_if_changed( $path, $orig_dev, $orig_ino );
thanks!
On Wed Jun 06 22:04:11 2018, DMUEY wrote: Show quoted text
> thanks! >
Could you release the change, please?