httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@hyperreal.org
Subject cvs commit: apache-1.3/src/modules/standard mod_rewrite.c
Date Sun, 12 Jul 1998 15:47:40 GMT
pcs         98/07/12 08:47:40

  Modified:    src/modules/standard mod_rewrite.c
  Log:
  Quick fix to make this compile on Windows: ifdef out reference to
  geteuid() and chown().
  
  Revision  Changes    Path
  1.124     +2 -0      apache-1.3/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.123
  retrieving revision 1.124
  diff -u -r1.123 -r1.124
  --- mod_rewrite.c	1998/07/11 10:56:07	1.123
  +++ mod_rewrite.c	1998/07/12 15:47:39	1.124
  @@ -3213,9 +3213,11 @@
                        "file %s", conf->rewritelockfile);
           exit(1);
       }
  +#ifndef WIN32
       /* make sure the childs have access to this file */
       if (geteuid() == 0 /* is superuser */)
           chown(conf->rewritelockfile, ap_user_id, -1 /* no gid change */);
  +#endif
   
       return;
   }
  
  
  

Mime
View raw message