cvs commit: modperl-2.0/lib/Apache compat.pm

2002-06-30 Thread stas

stas2002/06/30 21:54:09

  Modified:lib/Apache compat.pm
  Log:
  make sure that the call is made as Apache-module($name) (2 arguments)
  and not Apache::module($name)
  
  Revision  ChangesPath
  1.62  +1 -0  modperl-2.0/lib/Apache/compat.pm
  
  Index: compat.pm
  ===
  RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v
  retrieving revision 1.61
  retrieving revision 1.62
  diff -u -r1.61 -r1.62
  --- compat.pm 4 Jun 2002 12:40:53 -   1.61
  +++ compat.pm 1 Jul 2002 04:54:09 -   1.62
   -92,6 +92,7 
   
   sub module {
   require Apache::Module;
  +die 'Usage: Apache-module($name)' if _ != 2;
   return Apache::Module::loaded($_[1]);
   }
   
  
  
  



cvs commit: modperl-2.0/lib/Apache compat.pm

2002-05-29 Thread dougm

dougm   02/05/29 20:54:08

  Modified:lib/Apache compat.pm
  Log:
  prevent inclusion of Apache::Table
  
  Revision  ChangesPath
  1.56  +2 -0  modperl-2.0/lib/Apache/compat.pm
  
  Index: compat.pm
  ===
  RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- compat.pm 25 May 2002 17:49:03 -  1.55
  +++ compat.pm 30 May 2002 03:54:08 -  1.56
   -43,6 +43,8 
   $INC{'Apache/Constants.pm'} = __FILE__;
   
   $INC{'Apache/File.pm'} = __FILE__;
  +
  +$INC{'Apache/Table.pm'} = __FILE__;
   }
   
   sub request {
  
  
  



cvs commit: modperl-2.0/lib/Apache compat.pm

2002-05-22 Thread dougm

dougm   02/05/22 20:10:18

  Modified:lib/Apache compat.pm
  Log:
  add noop stubs for timeout functions removed from 2.0:
  $r-{soft,hard,reset,kill}_timeout
  
  Revision  ChangesPath
  1.46  +6 -0  modperl-2.0/lib/Apache/compat.pm
  
  Index: compat.pm
  ===
  RCS file: /home/cvs/modperl-2.0/lib/Apache/compat.pm,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- compat.pm 19 May 2002 11:41:53 -  1.45
  +++ compat.pm 23 May 2002 03:10:18 -  1.46
   -91,6 +91,12 
   
   package Apache::RequestRec;
   
  +#no longer exist in 2.0
  +sub soft_timeout {}
  +sub hard_timeout {}
  +sub kill_timeout {}
  +sub reset_timeout {}
  +
   #to support $r-server_root_relative
   *server_root_relative = \Apache::server_root_relative;