This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Avoid wiping out @dl_{librefs,modules} when XSLoader
authorDoug MacEachern <dougm@covalent.net>
Sun, 5 Mar 2000 15:19:01 +0000 (07:19 -0800)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 5 Mar 2000 23:26:41 +0000 (23:26 +0000)
falls back to DynaLoader.
To: perl5-porters@perl.org
Subject: [PATCH v5.5.670] maintain DynaLoader::dl_{librefs,modules}
Message-ID: <Pine.LNX.4.10.10003051509460.16885-100000@mojo.covalent.net>

p4raw-id: //depot/cfgperl@5560

ext/DynaLoader/DynaLoader_pm.PL

index 0e0f792..e0eb604 100644 (file)
@@ -77,8 +77,8 @@ $Is_MacOS  = $^O eq 'MacOS';
 @dl_require_symbols = ();       # names of symbols we need
 @dl_resolve_using   = ();       # names of files to link with
 @dl_library_path    = ();       # path to look for files
-@dl_librefs         = ();       # things we have loaded
-@dl_modules         = ();       # Modules we have loaded
+#@dl_librefs         = ();       # things we have loaded
+#@dl_modules         = ();       # Modules we have loaded
 
 # This is a fix to support DLD's unfortunate desire to relink -lc
 @dl_resolve_using = dl_findfile('-lc') if $dlsrc eq "dl_dld.xs";