develooper Front page | perl.perl5.porters | Postings from April 2008

[perl #41555] Bug in File::Find on Windows when target dir is bare drive letter and no_chdir = 1

Thread Next
From:
Bram via RT
Date:
April 30, 2008 08:48
Subject:
[perl #41555] Bug in File::Find on Windows when target dir is bare drive letter and no_chdir = 1
Message ID:
rt-3.6.HEAD-20841-1209569320-1168.41555-15-0@perl.org
On Tue Feb 20 09:39:44 2007, johndporter@yahoo.com wrote:
> 
> Bug in File::Find on Windows when target dir is bare drive letter and
> no_chdir = 1
> 
[...]
> 
> 	perl -MFile::Find -e "$\=$/; find({ no_chdir => 1, wanted => 
sub {
> print if -d } }, 'c:' );"
> 

Patch attached.

File::Find turned c: into c:/  (which is a completly different path).

No tests for it added. (No idea how this can be tested automatically)


Kind regards,

Bram

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About