Skip Menu |

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

Report information
The Basics
Id: 38015
Status: open
Priority: 0/
Queue: Module-Dependency

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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



Subject: VMS patch for Module::Dependency 1.86
Hello and thank you for Module::Dependency 1.86, I had to make the following changes to get it to pass it's tests on VMS: Don't follow symbolic links on VMS with Perl 5.8.7 (this may be a bug in File::Find) ==== Module-Dependency-1.86/lib/Module/Dependency/Indexer.pm ==== 41c41 < follow => 1, # follow symbolic links --- Show quoted text
> follow => ($^O ne 'VMS') ? 1 : 0, # follow
symbolic links 103d102 < Use catdir for directories, and not catfile. Ensure all versions of a file are unlinked. ==== Module-Dependency-1.86/t/02indexer.t ==== 18c18 < my $tree = catfile( $dir, 'u' ); --- Show quoted text
> my $tree = catdir( $dir, 'u' );
26,27c26,27 < if ( -f $index ) { unlink($index); } < if ( -f $index2 ) { unlink($index2); } --- Show quoted text
> if ( -f $index ) { 1 while (unlink($index)); } > if ( -f $index2 ) { 1 while (unlink($index2)); }
Ensure all versions of a file are unlinked. ==== Module-Dependency-1.86/t/99cleanup.t ==== 13c13 < unlink( $_ ); --- Show quoted text
> 1 while ( unlink( $_ ) );
Cheers, Peter (Stig) Edwards
Subject: Re: [rt.cpan.org #38015] VMS patch for Module::Dependency 1.86
Date: Tue, 29 Jul 2008 17:49:59 +0100
To: Peter John Edwards via RT <bug-Module-Dependency [...] rt.cpan.org>
From: Tim Bunce <Tim.Bunce [...] pobox.com>
I'm not working on it these days. Would you like to co-maintain it? Tim. On Tue, Jul 29, 2008 at 09:23:47AM -0400, Peter John Edwards via RT wrote: Show quoted text
> Tue Jul 29 09:23:46 2008: Request 38015 was acted upon. > Transaction: Ticket created by cpan@pjedwards.co.uk > Queue: Module-Dependency > Subject: VMS patch for Module::Dependency 1.86 > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38015 > > > > Hello and thank you for Module::Dependency 1.86, > > I had to make the following changes to get it to pass it's tests on VMS: > > Don't follow symbolic links on VMS with Perl 5.8.7 (this may be a bug > in File::Find) > > ==== Module-Dependency-1.86/lib/Module/Dependency/Indexer.pm ==== > 41c41 > < follow => 1, # follow symbolic links > ---
> > follow => ($^O ne 'VMS') ? 1 : 0, # follow
> symbolic links > 103d102 > < > > Use catdir for directories, and not catfile. > Ensure all versions of a file are unlinked. > > ==== Module-Dependency-1.86/t/02indexer.t ==== > 18c18 > < my $tree = catfile( $dir, 'u' ); > ---
> > my $tree = catdir( $dir, 'u' );
> 26,27c26,27 > < if ( -f $index ) { unlink($index); } > < if ( -f $index2 ) { unlink($index2); } > ---
> > if ( -f $index ) { 1 while (unlink($index)); } > > if ( -f $index2 ) { 1 while (unlink($index2)); }
> > Ensure all versions of a file are unlinked. > > ==== Module-Dependency-1.86/t/99cleanup.t ==== > 13c13 > < unlink( $_ ); > ---
> > 1 while ( unlink( $_ ) );
> > Cheers, > Peter (Stig) Edwards