Return-Path: X-Original-To: apmail-httpd-cvs-archive@www.apache.org Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 920FB10782 for ; Fri, 5 Dec 2014 14:00:39 +0000 (UTC) Received: (qmail 89326 invoked by uid 500); 5 Dec 2014 14:00:39 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 89254 invoked by uid 500); 5 Dec 2014 14:00:39 -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 89244 invoked by uid 99); 5 Dec 2014 14:00:39 -0000 Received: from hades.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Dec 2014 14:00:39 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id ECB56AC092E; Fri, 5 Dec 2014 14:00:37 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1643284 - in /httpd/httpd/trunk/server/mpm: event/fdqueue.c eventopt/fdqueue.c Date: Fri, 05 Dec 2014 14:00:37 -0000 To: cvs@httpd.apache.org From: ylavic@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20141205140037.ECB56AC092E@hades.apache.org> Author: ylavic Date: Fri Dec 5 14:00:37 2014 New Revision: 1643284 URL: http://svn.apache.org/r1643284 Log: mpm_event(opt): zero is immutable. Modified: httpd/httpd/trunk/server/mpm/event/fdqueue.c httpd/httpd/trunk/server/mpm/eventopt/fdqueue.c Modified: httpd/httpd/trunk/server/mpm/event/fdqueue.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/event/fdqueue.c?rev=1643284&r1=1643283&r2=1643284&view=diff ============================================================================== --- httpd/httpd/trunk/server/mpm/event/fdqueue.c (original) +++ httpd/httpd/trunk/server/mpm/event/fdqueue.c Fri Dec 5 14:00:37 2014 @@ -17,7 +17,7 @@ #include "fdqueue.h" #include "apr_atomic.h" -static apr_uint32_t zero_pt = APR_UINT32_MAX/2; +static const apr_uint32_t zero_pt = APR_UINT32_MAX/2; struct recycled_pool { Modified: httpd/httpd/trunk/server/mpm/eventopt/fdqueue.c URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/mpm/eventopt/fdqueue.c?rev=1643284&r1=1643283&r2=1643284&view=diff ============================================================================== --- httpd/httpd/trunk/server/mpm/eventopt/fdqueue.c (original) +++ httpd/httpd/trunk/server/mpm/eventopt/fdqueue.c Fri Dec 5 14:00:37 2014 @@ -17,7 +17,7 @@ #include "fdqueue.h" #include "apr_atomic.h" -static apr_uint32_t zero_pt = APR_UINT32_MAX/2; +static const apr_uint32_t zero_pt = APR_UINT32_MAX/2; typedef struct recycled_pool {