Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35B71103F7 for ; Fri, 4 Sep 2015 04:24:38 +0000 (UTC) Received: (qmail 68487 invoked by uid 500); 4 Sep 2015 04:24:37 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 68398 invoked by uid 500); 4 Sep 2015 04:24:37 -0000 Mailing-List: contact dev-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 dev@httpd.apache.org Received: (qmail 68388 invoked by uid 99); 4 Sep 2015 04:24:37 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Sep 2015 04:24:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id AF2651AB5F1 for ; Fri, 4 Sep 2015 04:24:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ymVROBtUTiSQ for ; Fri, 4 Sep 2015 04:24:29 +0000 (UTC) Received: from node176.itex.at (mail.123x.at [194.242.35.176]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 1010220FD3 for ; Fri, 4 Sep 2015 04:24:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by node176.itex.at (Postfix) with ESMTP id E44BF22B29 for ; Fri, 4 Sep 2015 06:24:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at node176.itex.at Received: from node176.itex.at ([127.0.0.1]) by localhost (node176.itex.at [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KD0MObfYxQzb for ; Fri, 4 Sep 2015 06:24:19 +0200 (CEST) Received: from [10.202.65.180] (CPE-110-147-162-245.nhl8.cht.bigpond.net.au [110.147.162.245]) (Authenticated sender: normw@gknw.net) by node176.itex.at (Postfix) with ESMTPSA id 9146B22AFE for ; Fri, 4 Sep 2015 06:24:18 +0200 (CEST) Subject: Re: r1701005 httpd-trunk\server\protocols.c To: dev@httpd.apache.org References: <55E8CF43.1090701@gknw.net> From: NormW Message-ID: <55E91CC7.1060209@gknw.net> Date: Fri, 4 Sep 2015 14:23:35 +1000 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 4/09/2015 9:05 AM, Yann Ylavic wrote: > On Fri, Sep 4, 2015 at 12:52 AM, NormW wrote: >> Hi again, >> Pushing passed previous problem, now arrive at: >>> >>> D:\Projects\svn\httpd-trunk\server>svn diff >>> Index: protocol.c >>> =================================================================== >>> --- protocol.c (revision 1701142) >>> +++ protocol.c (working copy) >>> @@ -1981,10 +1981,10 @@ >>> server_rec *s, >>> apr_array_header_t *choices) >>> { >>> + apr_array_header_t *proposals; >>> apr_pool_t *pool = r? r->pool : c->pool; >>> core_server_config *conf = >>> ap_get_core_module_config(s->module_config); >>> const char *protocol = NULL, *existing = ap_get_protocol(c);; >>> - apr_array_header_t *proposals; > > Hm, aren't there other/many places in the httpd code where non > initialized variables are declared after the initialized ones? > I am hoping my compiler is at least consistent! Not sure of what the rules are well enough to be an expert. I know Windows can be as pedantic as mine. See if Gregg asks for a similar change first, just to be sure. Norm