Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 73958 invoked from network); 11 Oct 2010 21:54:47 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Oct 2010 21:54:47 -0000 Received: (qmail 43845 invoked by uid 500); 11 Oct 2010 21:54:47 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 43744 invoked by uid 500); 11 Oct 2010 21:54:47 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 43737 invoked by uid 99); 11 Oct 2010 21:54:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 21:54:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Oct 2010 21:54:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 93B8F23888FD; Mon, 11 Oct 2010 21:54:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1021527 - /httpd/httpd/trunk/modules/cache/mod_disk_cache.c Date: Mon, 11 Oct 2010 21:54:26 -0000 To: cvs@httpd.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101011215426.93B8F23888FD@eris.apache.org> Author: wrowe Date: Mon Oct 11 21:54:26 2010 New Revision: 1021527 URL: http://svn.apache.org/viewvc?rev=1021527&view=rev Log: Eliminate nonportable cruft Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c Modified: httpd/httpd/trunk/modules/cache/mod_disk_cache.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_disk_cache.c?rev=1021527&r1=1021526&r2=1021527&view=diff ============================================================================== --- httpd/httpd/trunk/modules/cache/mod_disk_cache.c (original) +++ httpd/httpd/trunk/modules/cache/mod_disk_cache.c Mon Oct 11 21:54:26 2010 @@ -935,7 +935,7 @@ static apr_status_t write_headers(cache_ disk_cache_info_t disk_info; struct iovec iov[2]; - bzero(&disk_info, sizeof(disk_cache_info_t)); + memset(&disk_info, 0, sizeof(disk_cache_info_t)); if (dobj->headers_out) { const char *tmp;