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



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: Email
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
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
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 3131
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.

MIME-Version: 1.0
In-Reply-To: <CALk-YyVS7JNbvzQgkVk95J20BTrKitjaQtL30B52JLonqACOCg [...] mail.gmail.com>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <CALk-YyVS7JNbvzQgkVk95J20BTrKitjaQtL30B52JLonqACOCg [...] mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-18945-1435334201-1270.105169-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 35
Resolved as duplicate per comments.
MIME-Version: 1.0
X-Spam-Status: No, score=-4.698 tagged_above=-99.9 required=10 tests=[AWL=2.000, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-18945-1435334201-830.105169-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-105169 [...] rt.cpan.org> <CALk-YyVS7JNbvzQgkVk95J20BTrKitjaQtL30B52JLonqACOCg [...] mail.gmail.com> <rt-4.0.18-18945-1435334201-830.105169-6-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.60.93.42 with SMTP id cr10mr13074696oeb.74.1435563719510; Mon, 29 Jun 2015 00:41:59 -0700 (PDT)
Message-ID: <CALk-YyUT1JNKKsBxF8LN0d4H1YuW4r4hL11jBUOsvrWLR0RZGQ [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="047d7b33d42c8dd09d0519a339a9"
X-Spam-Score: -4.698
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 7C99D24055E for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Mon, 29 Jun 2015 03:42:15 -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 9gyhZ2XgHmew for <cpan-bug+File-Path [...] hipster.bestpractical.com>; Mon, 29 Jun 2015 03:42:14 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id D05E02401AC for <bug-File-Path [...] rt.cpan.org>; Mon, 29 Jun 2015 03:42:13 -0400 (EDT)
Received: (qmail 25551 invoked by alias); 29 Jun 2015 07:42:13 -0000
Received: from mail-oi0-f44.google.com (HELO mail-oi0-f44.google.com) (209.85.218.44) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 29 Jun 2015 00:42:03 -0700
Received: by oiax193 with SMTP id x193so112304082oia.2 for <bug-File-Path [...] rt.cpan.org>; Mon, 29 Jun 2015 00:41:59 -0700 (PDT)
Received: by 10.202.89.215 with HTTP; Mon, 29 Jun 2015 00:41:59 -0700 (PDT)
Delivered-To: cpan-bug+File-Path [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #105169] Add support for (removing) long path names (rmtree) on Windows
Return-Path: <bram.stappers [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+XHMYaJEgmhW0XM1mX8di2zpUm5eI8iFOvjm5wYLIVQ=; b=LfMOiWtXfgiSReVIVrEynD4daH3vleZa/jPcC7qhAenlT5Nrn4ghwpXneUuHPVo5cf clt8evpPzqaMHsx8YtqbvuMEKY0Ma7j0V4Kt0NR7LUugKBxAFIfjN9k612iIoOtNvdJv wWH83Ktfo+LLwmI/vMVhdsFq5pGdLPOiCp6zAyhOaNaP4Tsqb+5lqyS1ggNrB2VUSoe1 quE04YRq+tZMo+QNhZp2hZEj5Mfx3CKbw+XM+ElfIjEW+o0Q7wqQHBcPwD5nKPsvswvu YXrDq3uYfzobm6ZmUXTSOBjXtm/SYSy4e7x0uCd0JbsRBl21sx6XfIVsfPrDijb2suS7 pMqQ==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+File-Path [...] hipster.bestpractical.com
X-RT-Mail-Extension: file-path
Date: Mon, 29 Jun 2015 09:41:59 +0200
X-Spam-Level:
To: bug-File-Path [...] rt.cpan.org
From: Bram Stappers <bram.stappers [...] gmail.com>
RT-Message-ID: <rt-4.0.18-2135-1435563736-425.105169-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 414
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. >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1351


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.