logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: [Module::Build] Release checklist: msg#00046

Subject: Re: [Module::Build] Release checklist

On Oct 9, 2005, at 12:08 AM, Yitzchak Scott-Thoennes wrote:

Yes, not every platform has it. I see the code now does a DynaLoader->can; this should be added to protect against older versions of DynaLoader that
may not have @dl_librefs:

--- Module-Build-scratch/t/xs.t 2005-10-08 20:31:09.344473000 -0700
+++ Module-Build/t/xs.t 2005-10-08 20:58:23.013574400 -0700
@@ -73,7 +73,7 @@

   # unload the dll so it can be unlinked
DynaLoader::dl_unload_file($DynaLoader:: dl_librefs[$librefs_highwater])
-    if DynaLoader->can('dl_unload_file');
+    if @DynaLoader::dl_librefs && DynaLoader->can('dl_unload_file');
 }

 {

Disregard this: it's been there since 5.004; I thought it was added
more recently...


Thanks for checking into this.

 -Ken



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl


<Prev in Thread] Current Thread [Next in Thread>