Skip Menu |

This queue is for tickets about the DynaLoader-Functions CPAN distribution.

Report information
The Basics
Id: 96165
Status: resolved
Priority: 0/
Queue: DynaLoader-Functions

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

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



Subject: v0.002 does not handle correctly $Config{dlext} = 'xs.dll'
The latest strawberry perl uses $Config{dlext} = 'xs.dll' which unfortunately does not work correctly with DynaLoader-Functions-0.002

Please consider enclosed patch.

--
kmx
Subject: Functions.pm.patch
--- Functions.pm.orig 2013-08-17 15:50:35.000000000 +0200 +++ Functions.pm 2014-06-03 09:41:40.329775100 +0200 @@ -156,7 +156,7 @@ my $linkable_finder = { MSWin32 => sub { - if((my $basename = $_[0]) =~ s/\.[Dd][Ll][Ll]\z//) { + if((my $basename = $_[0]) =~ s/\.\Q$Config::Config{dlext}\E\z//i) { foreach my $suffix (qw(.lib .a)) { my $impname = $basename.$suffix; return ($impname) if -e $impname;
Subject: [rt.cpan.org #96165]
Date: Wed, 14 Oct 2015 23:29:08 +0200
To: bug-DynaLoader-Functions [...] rt.cpan.org
From: Patrick Zimmermann <pzim [...] posteo.de>
I hit this problem today. Bump. Just in case this but report was forgotten.
On Wed Oct 14 17:29:28 2015, pzim@posteo.de wrote: Show quoted text
> I hit this problem today. > > Bump. Just in case this but report was forgotten.
I have also hit this. Is this module orphaned?
Hit this in trying to build Moxie for Strawberry Perl Portable.
Patched in DynaLoader-Functions-0.003, just uploaded to CPAN. I'm not comfortable with the /i formulation: I worry that it'll invoke a bunch of unwanted Unicode stuff, which could be troublesome in such a low-level module. But I don't have a better way to do it, and it'll probably work, so I've gone with the /i. -zefram