dougm       00/06/01 14:17:45

  Modified:    .        Changes
               lib/Apache ExtUtils.pm
  Log:
  Apache::ExtUtils will now generate and END routine to call
  ap_remove_module()
  
  Revision  Changes    Path
  1.495     +3 -0      modperl/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /home/cvs/modperl/Changes,v
  retrieving revision 1.494
  retrieving revision 1.495
  diff -u -r1.494 -r1.495
  --- Changes   2000/06/01 21:07:56     1.494
  +++ Changes   2000/06/01 21:17:44     1.495
  @@ -10,6 +10,9 @@
   
   =item 1.24_01-dev
   
  +Apache::ExtUtils will now generate and END routine to call
  +ap_remove_module() [Christopher Chan-N <[EMAIL PROTECTED]>]
  +
   rename Apache::{PerlRun,RegistryNG}::update_mtime to set_mtime, so
   Apache::update_mtime is not overridden
   thanks to Michael Blakeley for the spot
  
  
  
  1.20      +8 -1      modperl/lib/Apache/ExtUtils.pm
  
  Index: ExtUtils.pm
  ===================================================================
  RCS file: /home/cvs/modperl/lib/Apache/ExtUtils.pm,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- ExtUtils.pm       2000/03/03 06:27:08     1.19
  +++ ExtUtils.pm       2000/06/01 21:17:45     1.20
  @@ -5,7 +5,7 @@
   use IO::File ();
   use File::Copy ();
   
  -$Apache::ExtUtils::VERSION = '1.03';
  +$Apache::ExtUtils::VERSION = '1.04';
   
   my @config_export = qw(%Config ldopts ccopts);
   @Apache::ExtUtils::EXPORT = qw(command_table);
  @@ -255,6 +255,13 @@
       add_module(&XS_${modname});
       stash_mod_pointer("$class", &XS_${modname});
   
  +void
  +END()
  +
  +    CODE:
  +    if (find_linked_module("$class")) {
  +        remove_module(&XS_${modname});
  +    }
   EOF
   }
   
  
  
  

Reply via email to