Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters
File::Path regression in 5.8.9
 

Index | Next | Previous | View Flat


gisle at activestate

Nov 14, 2008, 12:16 AM


Views: 6529
Permalink
File::Path regression in 5.8.9

On Nov 13, 2008, at 19:03 , Gisle Aas wrote:

> Worse is that you can't delete the tree at "/tmp/x" if your current
> directory is "/tmp/xx". Try:

I really do think this needs to be fixed before 5.8.9.

Here is more proper test that works in 5.8.8, but fails with File-
Path-2.07 as found in 5.8.9-RC1:

--------------------------------------------
use Test::More tests => 6;

use File::Path qw(rmtree mkpath);
use Cwd qw(cwd);

my $p = cwd();
my $x = "x$$";
my $xx = $x . "x";

# setup
ok(mkpath($xx));
ok(chdir($xx));
END {
ok(chdir($p));
ok(rmtree($xx));
}

# create and delete directory
my $px = "$p/$x";
ok(mkpath($px));
ok(rmtree($px), "rmtree"); # fails in File-Path-2.07

__END__

Subject User Time
File::Path regression in 5.8.9 gisle at activestate Nov 14, 2008, 12:16 AM
    Re: File::Path regression in 5.8.9 nick at ccl4 Nov 14, 2008, 12:46 AM
        Re: File::Path regression in 5.8.9 gisle at activestate Nov 14, 2008, 1:55 AM
        Re: File::Path regression in 5.8.9 mhx-perl at gmx Nov 14, 2008, 1:58 AM
            Re: File::Path regression in 5.8.9 mhx-perl at gmx Nov 14, 2008, 2:13 AM
                Re: File::Path regression in 5.8.9 david at landgren Nov 14, 2008, 5:55 AM
            Re: File::Path regression in 5.8.9 nick at ccl4 Dec 4, 2008, 6:13 AM
                Re: File::Path regression in 5.8.9 craig.a.berry at gmail Dec 4, 2008, 7:38 AM
    Re: File::Path regression in 5.8.9 nick at ccl4 Nov 14, 2008, 2:15 AM
        Re: File::Path regression in 5.8.9 gisle at activestate Nov 14, 2008, 2:59 AM
    Re: File::Path regression in 5.8.9 nick at ccl4 Nov 19, 2008, 2:59 AM
        Re: File::Path regression in 5.8.9 gisle at activestate Nov 19, 2008, 7:25 AM
    Re: File::Path regression in 5.8.9 nick at ccl4 Nov 19, 2008, 7:43 AM
        Re: File::Path regression in 5.8.9 gisle at activestate Nov 19, 2008, 10:09 AM
    Re: File::Path regression in 5.8.9 ntyni at debian Nov 27, 2008, 12:02 PM
    Re: File::Path regression in 5.8.9 nick at ccl4 Dec 4, 2008, 5:27 AM
    Re: File::Path regression in 5.8.9 nick at ccl4 Dec 4, 2008, 7:44 AM
        Re: File::Path regression in 5.8.9 craig.a.berry at gmail Dec 4, 2008, 8:11 AM
    Re: File::Path regression in 5.8.9 craig.a.berry at gmail Dec 4, 2008, 1:59 PM
    Re: File::Path regression in 5.8.9 gisle at activestate Dec 4, 2008, 2:10 PM
    Re: File::Path regression in 5.8.9 craig.a.berry at gmail Dec 4, 2008, 9:40 PM
    Re: File::Path regression in 5.8.9 nick at ccl4 Dec 5, 2008, 6:38 AM
        Re: File::Path regression in 5.8.9 nick at ccl4 Dec 5, 2008, 6:39 AM
    Re: File::Path regression in 5.8.9 gisle at activestate Dec 5, 2008, 9:47 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.