On 6 May 2002 21:00:50 -0000, [EMAIL PROTECTED] wrote:

>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);

Shouldn't we #define UNIX or some other feature macro somewhere so we don't
have to use such a long winded expressions that must all be adjusted every
time a new non-unix platform is added?

-- 
 ______________________________________________________________________________
 |  Brian Havard                 |  "He is not the messiah!                   |
 |  [EMAIL PROTECTED]  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------

Reply via email to