httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/prefork prefork.c
Date Wed, 31 Jan 2001 02:15:12 GMT
trawick     01/01/30 18:15:12

  Modified:    server/mpm/prefork prefork.c
  Log:
  use memset() instead of bzero(); APR no longer tries to guarantee
  the existence of bzero()
  
  Revision  Changes    Path
  1.149     +1 -1      httpd-2.0/server/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
  retrieving revision 1.148
  retrieving revision 1.149
  diff -u -r1.148 -r1.149
  --- prefork.c	2001/01/28 03:00:03	1.148
  +++ prefork.c	2001/01/31 02:15:12	1.149
  @@ -567,7 +567,7 @@
   		kill((pid = ap_scoreboard_image->parent[n].pid), 0) == -1) {
   	    ap_update_child_status(n, SERVER_DEAD, NULL);
   	    /* just mark it as having a successful exit status */
  -	    bzero((char *) status, sizeof(apr_wait_t));
  +	    memset(status, 0, sizeof(apr_wait_t));
   	    return(pid);
   	}
       }
  
  
  

Mime
View raw message