]> granicus.if.org Git - apache/commitdiff
use memset() instead of bzero(); APR no longer tries to guarantee
authorJeff Trawick <trawick@apache.org>
Wed, 31 Jan 2001 02:15:12 +0000 (02:15 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 31 Jan 2001 02:15:12 +0000 (02:15 +0000)
the existence of bzero()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87928 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/prefork/prefork.c

index d7efe67ed1188d2cba9867cb6c591c9c0974f44a..098d67d8a1e7bc3feb78db159c84a68f2b8f788f 100644 (file)
@@ -567,7 +567,7 @@ int reap_children(apr_wait_t *status)
                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);
        }
     }