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 07CFA17238 for ; Mon, 6 Oct 2014 20:25:58 +0000 (UTC) Received: (qmail 10236 invoked by uid 500); 6 Oct 2014 20:25:57 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 10138 invoked by uid 500); 6 Oct 2014 20:25:57 -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 10128 invoked by uid 99); 6 Oct 2014 20:25:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 20:25:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ylavic.dev@gmail.com designates 209.85.223.171 as permitted sender) Received: from [209.85.223.171] (HELO mail-ie0-f171.google.com) (209.85.223.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Oct 2014 20:25:51 +0000 Received: by mail-ie0-f171.google.com with SMTP id tr6so4110009ieb.30 for ; Mon, 06 Oct 2014 13:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=jQ47dEk5rMvd7hf1grMUMh8WQ/hjCuBzgh7s+oCOR4Y=; b=g4gxjNPgAYHXKiwSsUxAuOjPoh1U2GwLHruZT5QXqQ+wkeqqmNdWkjikqRbzXwyas9 J61sld0vQQ6DgrZ6TDOZRPR3zdpwXzd6fmpn/G7aI8mv7a1qIdSlsLTjQMyyhKHdBGjt Ufzx/R7Gl7PMT/ywnzyIxIftSpwRkHdQsvgO8zRjqGo/jOqKqpECee2p6IRH+PANg3CW YnwUBD3W0N+7VhSGjcmaxrSBE7XZ7HqjTfMKZjIODxaTEMk4hAJcv3gRNpGhyPGsaog0 l6EHo9FajOaeEiHJxYO9VggU33xoc8XOrYZyldj+m6na20BzqlYFs7DK2Sb/tXVxTBwA oocA== MIME-Version: 1.0 X-Received: by 10.43.54.5 with SMTP id vs5mr6148110icb.84.1412627131298; Mon, 06 Oct 2014 13:25:31 -0700 (PDT) Received: by 10.42.13.211 with HTTP; Mon, 6 Oct 2014 13:25:31 -0700 (PDT) In-Reply-To: References: Date: Mon, 6 Oct 2014 22:25:31 +0200 Message-ID: Subject: Re: Style From: Yann Ylavic To: httpd Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Christophe, personnaly I quite like style (reasonable) difference between coders (but tabs!), and I usually preserve the existing style when modifying others' code. I don't find httpd codes style so heterogeneous, and almost always easily readable. Maybe we can just comment on gross style issues while reviewing the commits... So I'm rather -0.1 for this. Regards, Yann. On Mon, Oct 6, 2014 at 10:08 PM, Christophe JAILLET wrote: > Hi, > > following a remark of Eric Covener about 'indent', I started to play with > it. > I have committed a few patches in trunk on modules that don't have any > differences between 2.4 and trunk. > debugging/mod_firehose (only in trunk) > debugging/mod_dumpio > debugging/mod_bucketeer > echo/mod_echo > aaa/mod_allowmethods > > My first goal was to see if many things "had" to be fixed. > > Well, depending on the files, these can lead to update a relatively large > amount of lines. > > > 1) This kind of patch should have no impact on generated code. > I md5sum the .o files before and after modification. Some difference exist. > I guess that it is due to debugging information embedded in the .o file. > > What is the best way to check that these changes have no side effects? > Should disabling the debug in my makefile be enough? > > > 2) As it involve sometimes a lot of changes, I was wondering if it worthed > it. > Even if binary comparison can be a good starting point, reviews required by > the voting system could be very time consuming for others. > Moreover, in case of #if, not all paths would be checked with binary > comparison. This could be bug prone. > > On the other side, if housekeeping is never done, will never have the > benefit of it... > > > 3) These kind of changes can easily conflict with other patches. Backporting > things would then become a real nightmare for everyone. > So, I think that no such style issue should be fixed on files that differ > between trunk and 2.4 (or only 1 line changes or after the last difference) > However, the question remains in case of 2.2 backport. > > > So, do you think that such "clean up" worth the effort or that things should > be left as-is ? > Thanks for feed back. > > CJ >