Skip Menu |
 

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

Report information
The Basics
Id: 105169
Status: resolved
Priority: 0/
Queue: File-Path

People
Owner: RICHE [...] cpan.org
Requestors: bram.stappers [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.10_001



Subject: Add support for (removing) long path names (rmtree) on Windows
Date: Thu, 11 Jun 2015 11:56:35 +0200
To: bug-File-Path [...] rt.cpan.org
From: Bram Stappers <bram.stappers [...] gmail.com>
Download (untitled) / with headers
text/plain 1.1k
Dear File-Path maintainer(s), Thank you for providing such a fine module! I am using Perl on Windows and have a problem with removing files with long path names with rmtree. The problem is described here: http://stringstream.blogspot.nl/2014/11/perl-long-paths-issue-in-windows.html When trying to remove file paths with a name that exceeds the MAX_PATH the removal fails. Subsequently, the parent directory can obviously not be removed since it is not empty. I understand that this is not a File-Path issue per se since the problem goes all the way down to 'unlink' (and perhaps 'rmdir') of Perl itself. Apparently, there is a module ( http://search.cpan.org/~rboisvert/Win32-LongPath-1.03/lib/Win32/LongPath.pm) that offers support for this in the form of 'unlinkL' and 'rmdirL' functions. It would be really nice if File-Path could use the functions above on Windows. I have attached the relevant Perl/File-Path version information. I am using (ActiveState) Perl on Windows XP and Windows 7 (but I would like it to work on any Windows system with XP or later). Let me know if you require more information. Regards, Bram

Message body is not shown because sender requested not to inline it.

Resolved as duplicate per comments.
Subject: Re: [rt.cpan.org #105169] Add support for (removing) long path names (rmtree) on Windows
Date: Mon, 29 Jun 2015 09:41:59 +0200
To: bug-File-Path [...] rt.cpan.org
From: Bram Stappers <bram.stappers [...] gmail.com>
Download (untitled) / with headers
text/plain 414b
Hello Richard, Thank you for your reply and for fixing this issue! However, it is not clear to me which ticket this is a duplicate of. Can you please give me a pointer to the other ticket? Thank you! Regards, Bram On Fri, Jun 26, 2015 at 5:56 PM, Richard Elberger via RT < bug-File-Path@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=105169 > > > Resolved as duplicate per comments. >


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.