Skip Menu |

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

Report information
The Basics
Id: 92860
Status: resolved
Priority: 0/
Queue: Module-ScanDeps

People
Owner: RSCHUPP [...] cpan.org
Requestors: fraserbn [...] gmail.com
Cc:
AdminCc:

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



Subject: t/7-check-dynaloader.t doesn't handle systems with mod2fname
Howdy! This came up on Android, but also affects VMS and OS/2, as well as possibly Win32 in the future, plus any perl built with -Dd_libname_unique On those platforms, shared library names need a bit if tweaking, so DynaLoader has an extra function defined which gets you exactly that, mod2fname; the problem with the tests is that it doesn't use that. Simple enough fix though: - my $modfname = $modparts[-1]; + my $modfname = defined &DynaLoader::mod2fname ? DynaLoader::mod2fname(\@modparts) : $modparts[-1];
Hi Brian, thanks for spotting. Applied your patch, also in one other occurrence in the PAR ecosystem. Will be in the next release of Module::ScanDeps. Cheers, Roderich