From: Abhijit Halder <abhijit.k.halder@gmail.com>
To: gdb-patches@sourceware.org
Subject: Re: Bad Indentation
Date: Sat, 03 Sep 2011 10:27:00 -0000 [thread overview]
Message-ID: <CAOhZP9y3oLV=EwUedD7pYmnPUn+JxY26nZ9w-jEW-wAz6MHf_g@mail.gmail.com> (raw)
In-Reply-To: <CAOhZP9yAJL7V68yHZviRtOD4y3iuTiZRxFnwJYF4JM8Ph_ftGw@mail.gmail.com>
On Sat, Sep 3, 2011 at 3:02 PM, Abhijit Halder
<abhijit.k.halder@gmail.com> wrote:
> Hi,
>
> I've found the following indentation problem. Can someone plz correct the same.
>
> #cvs diff gdb/remote.c
>
> Index: gdb/remote.c
> ===================================================================
> RCS file: /cvs/src/src/gdb/remote.c,v
> retrieving revision 1.461
> diff -r1.461 remote.c
> 4883c4883
> < }
> ---
>> }
>
>
> Thanks,
> Abhijit Halder
>
In the same context I did an exercise and found the following:
# grep -I --include=*.[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
next prev parent reply other threads:[~2011-09-03 10:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 10:09 Abhijit Halder
2011-09-03 10:27 ` Abhijit Halder [this message]
2011-10-03 17:20 ` Tom Tromey
2011-10-03 18:16 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAOhZP9y3oLV=EwUedD7pYmnPUn+JxY26nZ9w-jEW-wAz6MHf_g@mail.gmail.com' \
--to=abhijit.k.halder@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox