develooper Front page | perl.perl5.porters | Postings from May 2008

Re: File::Path::mkpath() incompatiblity in perl-5.10

Thread Previous | Thread Next
From:
David Landgren
Date:
May 10, 2008 14:45
Subject:
Re: File::Path::mkpath() incompatiblity in perl-5.10
Message ID:
4826179B.3000704@landgren.net
David Landgren wrote:
> Gisle Aas wrote:
>> I had some production code using File::Path::mkpath() that started to 
>> misbehave after upgrading to perl-5.10.  The bug is demonstrated with 
> 
> This has been fixed in File-Path 2.06 which has been released to CPAN.
> 
> The patch also contains a couple of documentation typo fixes and tweaks 
> (I took the liberty of removing the email addresses of Charles Bailey 
> and Tim Bunce as these are just spam magnets nowadays).
> 
> rmtree() also produces better diagnostics and behaves gracefully if you 
> try to remove the directory you are in (as this otherwise triggers the 
> race prevention code and aborts).
> 
> Patch against blead.

Please do not apply this patch. There is an error in the test suite, 
using close instead of closedir (I thought a change had been made to 
warn or die if one attempted to C<close> a directory handle).

I've release 2.06_01 to CPAN, and if the smokes settle down I'll 
re-release it as 2.07. There's also the issue that it breaks 
Kwiki::Test; I've begun to investigate what's going on there.

Thanks,
David


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About