httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/server scoreboard.c
Date Thu, 24 Jan 2002 07:47:10 GMT
wrowe       02/01/23 23:47:10

  Modified:    server   scoreboard.c
  Log:
    A quick hack around Aaron's patch.  Win32 'supports' anon shm, but
    Apache's implementation requires fork().
  
  Revision  Changes    Path
  1.49      +4 -0      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- scoreboard.c	23 Jan 2002 18:11:40 -0000	1.48
  +++ scoreboard.c	24 Jan 2002 07:47:10 -0000	1.49
  @@ -164,6 +164,7 @@
       apr_status_t rv;
       char *fname = NULL;
   
  +#ifndef WIN32
       rv = apr_shm_create(&scoreboard_shm, scoreboard_size, fname, p);
       if ((rv != APR_SUCCESS) && (rv != APR_ENOTIMPL)) {
           ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL,
  @@ -172,6 +173,9 @@
           return rv;
       }
       if (rv == APR_ENOTIMPL) {
  +#else
  +    {
  +#endif
           if (ap_scoreboard_fname) {
               fname = ap_server_root_relative(p, ap_scoreboard_fname);
           }
  
  
  

Mime
View raw message