Skip Menu |
 

This queue is for tickets about the Net-FTPServer CPAN distribution.

Report information
The Basics
Id: 3337
Status: resolved
Priority: 0/
Queue: Net-FTPServer

People
Owner: ryochin [...] cpan.org
Requestors: SCOTT [...] cpan.org
Cc:
AdminCc:

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



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: Can not remove directories
X-RT-Original-Encoding: iso-8859-1
Content-Length: 463
Download (untitled) / with headers
text/plain 463b
The Package Net::FTPServer::Full::DirHandler does not allow directory deletion in the latest version on CPAN. It is just a missing '_' Here it is fixed. sub delete { my $self = shift; # Darwin / Mac OS X cannot delete a directory with a trailing "/", so # remove it first (thanks Luis Mun\~oz for fixing this). my $path = $self->{_pathname}; $path =~ s,/+$,, if $path ne "/"; rmdir $path or return -1; return 0; } Scott
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-13335-1352784529-1895.3337-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 25
(fixed in former release)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.