Skip Menu |

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

Report information
The Basics
Id: 8291
Status: resolved
Worked: 30 min
Priority: 0/
Queue: File-Remove

People
Owner: Nobody in particular
Requestors: thomas.jegen [...] trivadis.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.21_01
Fixed in: 0.28



Subject: File::Remove does not seem to delete empty directories
System: Microsoft Windows 2000 5.00.2195 Service Pack 4 Perl: This is perl, v5.8.0 built for MSWin32-x86-multi-thread When I do a remove(\1,$someDirectory) it deletes subdirectories wich contain files but does not delete neither empty subdirectories nor the directory itself. The same script works perfectly on Linux.
[guest - Mon Nov 8 10:50:28 2004]: Show quoted text
> System: Microsoft Windows 2000 > 5.00.2195 > Service Pack 4 > > Perl: This is perl, v5.8.0 built for MSWin32-x86-multi-thread > > When I do a remove(\1,$someDirectory) it deletes subdirectories wich > contain files but does not delete neither empty subdirectories nor the > directory itself. > > The same script works perfectly on Linux.
0.22 handles directories slightly differently, and will remove empty directories in situations where it should have (but would not) before. This may resolve your issue; if so, the newly-added tests in 0.22 will pass; otherwise, please reply with the test failure report for further analysis. Thanks :) [1] http://search.cpan.org/~rsod/File-Remove-0.22/ - R. - R.
From: thomas.jegen [...] trivadis.com
[RSOD - Mon Nov 15 11:55:43 2004]: Show quoted text
> [guest - Mon Nov 8 10:50:28 2004]: >
> > System: Microsoft Windows 2000 > > 5.00.2195 > > Service Pack 4 > > > > Perl: This is perl, v5.8.0 built for MSWin32-x86-multi-thread > > > > When I do a remove(\1,$someDirectory) it deletes subdirectories wich > > contain files but does not delete neither empty subdirectories nor the > > directory itself. > > > > The same script works perfectly on Linux.
> > 0.22 handles directories slightly differently, and will remove empty > directories in situations where it should have (but would not) before. > This may resolve your issue; if so, the newly-added tests in 0.22 will > pass; otherwise, please reply with the test failure report for further > analysis. Thanks :) > > [1] http://search.cpan.org/~rsod/File-Remove-0.22/
Unfortunately I have no access to this link. Show quoted text
> > - R. > > - R.