MIME-Version: | 1.0 |
X-Spam-Status: | No, score=-2.698 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham |
X-Spam-Flag: | NO |
X-Virus-Checked: | Checked |
Content-Type: | multipart/mixed; boundary="047d7bd6c512c9390805183b01d9" |
Message-ID: | <CALk-YyVS7JNbvzQgkVk95J20BTrKitjaQtL30B52JLonqACOCg@mail.gmail.com> |
X-Received: | by 10.60.155.97 with SMTP id vv1mr7073741oeb.15.1434016595622; Thu, 11 Jun 2015 02:56:35 -0700 (PDT) |
X-Virus-Scanned: | Debian amavisd-new at bestpractical.com |
X-Spam-Score: | -2.698 |
Received: | from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id EA657240585 for <cpan-bug+File-Path@hipster.bestpractical.com>; Thu, 11 Jun 2015 05:56:47 -0400 (EDT) |
Received: | from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1KKPFZ7ykpUh for <cpan-bug+File-Path@hipster.bestpractical.com>; Thu, 11 Jun 2015 05:56:46 -0400 (EDT) |
Received: | from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id B45BB240568 for <bug-File-Path@rt.cpan.org>; Thu, 11 Jun 2015 05:56:45 -0400 (EDT) |
Received: | (qmail 31135 invoked by alias); 11 Jun 2015 09:56:42 -0000 |
Received: | from mail-oi0-f41.google.com (HELO mail-oi0-f41.google.com) (209.85.218.41) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 11 Jun 2015 02:56:39 -0700 |
Received: | by oihb142 with SMTP id b142so1253214oih.3 for <bug-File-Path@rt.cpan.org>; Thu, 11 Jun 2015 02:56:35 -0700 (PDT) |
Received: | by 10.202.89.215 with HTTP; Thu, 11 Jun 2015 02:56:35 -0700 (PDT) |
Authentication-Results: | hipster.bestpractical.com (amavisd-new); dkim=pass header.i=@gmail.com |
Delivered-To: | cpan-bug+File-Path@hipster.bestpractical.com |
Subject: | Add support for (removing) long path names (rmtree) on Windows |
Return-Path: | <bram.stappers@gmail.com> |
X-RT-Mail-Extension: | file-path |
X-Original-To: | cpan-bug+File-Path@hipster.bestpractical.com |
X-Spam-Check-BY: | la.mx.develooper.com |
Dkim-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=7wqzfJj0OQXOEtR1c7qPUkQhLsOrUunTCSL2QjjO8HA=; b=s154BZil1DehMI10R0vwVWmR2H/fVkXV+0HgIGpM0lg9lXPCmFq0PH09CzlY7ciOw2 OIlhiIzQRh1VuypvneljNYE7VHdinndP/AiTCLka2ppx3YWXgyF6idElFcVyeZlQ2gGu 8gKL4U3L1h9JcBlvun/RhVFOQfZtBVC4wI5ZczX96tPlQSyElG06quVlzmR3xk29sslR WxmS4qyVKPgkgWhYm+pdemqIT3+mSFKeEclWedL9A4bx/94sVWU7iJaldvBR1riZ3Byx k4i/eDqOkPymbO5MrcQP8Hid9CCzhM+3RKkjTNtIleaR8FxUPyH8A61gdO10cmbCDx/S oJ5Q== |
Date: | Thu, 11 Jun 2015 11:56:35 +0200 |
X-Spam-Level: | |
To: | bug-File-Path@rt.cpan.org |
From: | Bram Stappers <bram.stappers@gmail.com> |
X-RT-Interface: | |
Content-Length: | 0 |
Content-Type: | multipart/alternative; boundary="047d7bd6c512c9390105183b01d7" |
Content-Length: | 0 |
content-type: | text/plain; charset="utf-8" |
X-RT-Original-Encoding: | utf-8 |
Content-Length: | 1133 |
content-type: | text/html; charset="utf-8" |
Content-Transfer-Encoding: | quoted-printable |
X-RT-Original-Encoding: | utf-8 |
Content-Length: | 3131 |
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:
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
X-Attachment-ID: | f_ias0bqen0 |
content-type: | text/plain; charset="utf-8"; name="File-Path-bug-info.txt" |
Content-Disposition: | attachment; filename="File-Path-bug-info.txt" |
Content-Transfer-Encoding: | base64 |
X-RT-Original-Encoding: | ascii |
Content-Length: | 3192 |
Message body is not shown because sender requested not to inline it.