httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <bri...@kheldar.apana.org.au>
Subject Re: cvs commit: httpd-2.0/modules/mappers mod_rewrite.c
Date Tue, 07 May 2002 03:33:58 GMT
On 6 May 2002 21:00:50 -0000, aaron@apache.org 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!                   |
 |  brianh@kheldar.apana.org.au  |  He's a very naughty boy!" - Life of Brian |
 ------------------------------------------------------------------------------


Mime
View raw message