httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0/server scoreboard.c
Date Wed, 22 Sep 2004 13:35:31 GMT
jorton      2004/09/22 06:35:31

  Modified:    server   scoreboard.c
  Log:
  * server/scoreboard.c (create_namebased_scoreboard): Use
  apr_shm_remove() rather than the unsufficient apr_file_remove().
  
  PR: 27189
  
  Revision  Changes    Path
  1.77      +1 -1      httpd-2.0/server/scoreboard.c
  
  Index: scoreboard.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/scoreboard.c,v
  retrieving revision 1.76
  retrieving revision 1.77
  diff -d -w -u -r1.76 -r1.77
  --- scoreboard.c	15 Sep 2004 12:08:33 -0000	1.76
  +++ scoreboard.c	22 Sep 2004 13:35:31 -0000	1.77
  @@ -151,7 +151,7 @@
   
       /* The shared memory file must not exist before we create the
        * segment. */
  -    apr_file_remove(fname, pool); /* ignore errors */
  +    apr_shm_remove(fname, pool); /* ignore errors */
   
       rv = apr_shm_create(&ap_scoreboard_shm, scoreboard_size, fname, pool);
       if (rv != APR_SUCCESS) {
  
  
  

Mime
View raw message