- s/no/nb/ in Summary langs
[packages/apache-mod_python.git] / apache-mod_python-right-mutex-perms.patch
1 --- mod_python-3.1.2b.orig/src/mod_python.c     2003-10-22 21:57:04.000000000 +0200
2 +++ mod_python-3.1.2b/src/mod_python.c  2003-12-16 22:33:03.000000000 +0100
3 @@ -419,7 +419,11 @@
4          }
5          else {
6  #if !defined(OS2) && !defined(WIN32) && !defined(BEOS) && !defined(NETWARE)
7 -            chown(fname, unixd_config.user_id, -1);
8 +                       if( !geteuid() )
9 +                       {
10 +                   chown(fname, unixd_config.user_id, -1);
11 +                               unixd_set_global_mutex_perms(mutex[n]);
12 +                       }
13  #endif
14          }
15      }
This page took 0.060993 seconds and 3 git commands to generate.