httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Mon, 06 May 2002 21:00:50 GMT
aaron       02/05/06 14:00:50

  Modified:    modules/mappers mod_rewrite.c
  Log:
  Protect us from this dirty hack that gets SysV Sem working again
  on mod_rewrite. This, along with the original usage of a unix-only
  function in mod_rewrite, is a temporary stopgap measure designed only
  to workaround limitations in APR's handling of permission attributes.
  It shall be removed as soon as that interface is improved.
  
  Revision  Changes    Path
  1.112     +4 -0      httpd-2.0/modules/mappers/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_rewrite.c,v
  retrieving revision 1.111
  retrieving revision 1.112
  diff -u -r1.111 -r1.112
  --- mod_rewrite.c	6 May 2002 18:24:03 -0000	1.111
  +++ mod_rewrite.c	6 May 2002 21:00:50 -0000	1.112
  @@ -964,6 +964,7 @@
           return HTTP_INTERNAL_SERVER_ERROR;
       }
   
  +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS)  && !defined(NETWARE)
       rv = unixd_set_global_mutex_perms(rewrite_log_lock);
       if (rv != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_CRIT, rv, s,
  @@ -971,6 +972,7 @@
                        "rewrite_log_lock; check User and Group directives");
           return HTTP_INTERNAL_SERVER_ERROR;
       }
  +#endif
   
       rv = rewritelock_create(s, p);
       if (rv != APR_SUCCESS) {
  @@ -3327,6 +3329,7 @@
           return rc;
       }
   
  +#if !defined(OS2) && !defined(WIN32) && !defined(BEOS)  && !defined(NETWARE)
       rc = unixd_set_global_mutex_perms(rewrite_mapr_lock_acquire);
       if (rc != APR_SUCCESS) {
           ap_log_error(APLOG_MARK, APLOG_CRIT, rc, s,
  @@ -3334,6 +3337,7 @@
                        "on RewriteLock; check User and Group directives");
           return rc;
       }
  +#endif
   
       return APR_SUCCESS;
   }
  
  
  

Mime
View raw message