From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12576 invoked by alias); 3 Sep 2011 10:15:57 -0000 Received: (qmail 12566 invoked by uid 22791); 3 Sep 2011 10:15:56 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 03 Sep 2011 10:15:40 +0000 Received: by wyi11 with SMTP id 11so3205932wyi.0 for ; Sat, 03 Sep 2011 03:15:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.167.194 with SMTP id i44mr2259246wel.33.1315044939178; Sat, 03 Sep 2011 03:15:39 -0700 (PDT) Received: by 10.216.22.75 with HTTP; Sat, 3 Sep 2011 03:15:39 -0700 (PDT) In-Reply-To: References: Date: Sat, 03 Sep 2011 10:27:00 -0000 Message-ID: Subject: Re: Bad Indentation From: Abhijit Halder To: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-09/txt/msg00051.txt.bz2 On Sat, Sep 3, 2011 at 3:02 PM, Abhijit Halder wrote: > Hi, > > I've found the following indentation problem. Can someone plz correct the= same. > > #cvs diff gdb/remote.c > > Index: gdb/remote.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvs/src/src/gdb/remote.c,v > retrieving revision 1.461 > diff -r1.461 remote.c > 4883c4883 > < =A0 } > --- >> } > > > Thanks, > Abhijit Halder > In the same context I did an exercise and found the following: # grep -I --include=3D*.[ch] -r "^[ ]\{8,\}" gdb-top/ | wc -l 71233 Since our convention is converting 8 consecutive space into a tab character, the above result seems to me the violation of that rule. Can we run some script to correct the same? Thanks, Abhijit Halder