tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp/apache-2.0 mod_webapp.c
Date Wed, 12 Sep 2001 16:29:05 GMT
pier        01/09/12 09:29:05

  Modified:    webapp/apache-2.0 mod_webapp.c
  Log:
  Removed old MMN #ifdefs
  
  Revision  Changes    Path
  1.3       +1 -7      jakarta-tomcat-connectors/webapp/apache-2.0/mod_webapp.c
  
  Index: mod_webapp.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/apache-2.0/mod_webapp.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mod_webapp.c	2001/09/06 17:00:54	1.2
  +++ mod_webapp.c	2001/09/12 16:29:05	1.3
  @@ -57,7 +57,7 @@
   
   /**
    * @author  Pier Fumagalli <mailto:pier.fumagalli@eng.sun.com>
  - * @version $Id: mod_webapp.c,v 1.2 2001/09/06 17:00:54 jfclere Exp $
  + * @version $Id: mod_webapp.c,v 1.3 2001/09/12 16:29:05 pier Exp $
    */
   
   #include <httpd.h>
  @@ -413,9 +413,7 @@
   
       /* The uri path is matched: set the handler and return */
       r->handler=apr_pstrdup(r->pool,"webapp-handler");
  -#if (MODULE_MAGIC_NUMBER_MAJOR > 20010808)
       apr_table_setn(r->notes,"webapp-handler", "webapp-handler");
  -#endif
   
       /* Set the webapp request structure into Apache's request structure */
       ap_set_module_config(r->request_config, &webapp_module, appl);
  @@ -510,7 +508,6 @@
       return(OK);
   }
   
  -#if (MODULE_MAGIC_NUMBER_MAJOR > 20010808)
   /* bypass the directory_walk and file_walk for non-file requests */
   static int wam_map_to_storage(request_rec *r)
   {
  @@ -520,16 +517,13 @@
       }
       return DECLINED;
   }
  -#endif
   
   static void register_hooks(apr_pool_t *p)
   {
       ap_hook_handler(wam_invoke, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_translate_name(wam_match, NULL, NULL, APR_HOOK_MIDDLE);
       ap_hook_child_init(wam_startup, NULL, NULL, APR_HOOK_MIDDLE);
  -#if (MODULE_MAGIC_NUMBER_MAJOR > 20010808)
       ap_hook_map_to_storage(wam_map_to_storage, NULL, NULL, APR_HOOK_MIDDLE);
  -#endif
   }
   
   /* Apache module declaration */
  
  
  

Mime
View raw message