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, DavidThread Previous | Thread Next