Skip Menu |

This queue is for tickets about the Module-FromPerlVer CPAN distribution.

Report information
The Basics
Id: 124778
Status: resolved
Priority: 0/
Queue: Module-FromPerlVer

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

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



Subject: 01-default-args.t hangs on Windows
Module::FromPerlVer version 0.005002 Strawberry perl 5.26.0, 5.24.0. Windows XP Russian. ok 1 - require Module::FromPerlVer; # Require succeeds: VERSION = 0.001000 ok 2 - No pre-existing 'perl_version' ok 3 - No pre-existing 'source_prefix' ok 4 - No pre-existing 'module_source' ok 5 - No pre-existing 'source_files' ok 6 - No pre-existing 'cleanup' ok 7 - No pre-existing 'get_files' # Def: git_repo_file = 'git-repository.tar' # Def: git_prefix = 'perl/' # Def: default_use = 'dir' # Def: version_dir = 'version' # Extract with: 'Dir' (Module::FromPerlVer::Dir) # Perl version: 5.026000 (hangs) -- Alexandr Ciornii, http://chorny.net
CC: lembark [...] wrkhors.com
Subject: Re: [rt.cpan.org #124778] 01-default-args.t hangs on Windows
Date: Wed, 14 Mar 2018 22:03:48 -0500
To: bug-Module-FromPerlVer [...] rt.cpan.org
From: Steven Lembark <lembark [...] wrkhors.com>
On Wed, 14 Mar 2018 19:30:00 -0400 "Alexandr Ciornii via RT" <bug-Module-FromPerlVer@rt.cpan.org> wrote: Q: What does the root directory look like on your MS system? The loop that is [probably] causing the problem is: while( '/' ne $v_dir ) { ... } continue { $v_dir = dirname $v_dir; } on *NIX this will eventually reduce the path to '/'. Obvously, the root on Windows looks different. Q: What does the root look like on your system? thanks -- Steven Lembark 1505 National Ave Workhorse Computing Rockford, IL 61103 lembark@wrkhors.com +1 888 359 3508
Q: Is a reasonable test for hitting the root on MSQ filesystems: while( $path ne dirname $path ) { ... } i.e., will dirname produce the same directory at the root level? thanks
Snagged the tree search loop from FindBin::libs, which handles VMS and MSW.