From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5164 invoked by alias); 6 Jan 2011 13:58:46 -0000 Received: (qmail 5156 invoked by uid 22791); 6 Jan 2011 13:58:44 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 06 Jan 2011 13:58:41 +0000 Received: (qmail 6604 invoked from network); 6 Jan 2011 13:58:38 -0000 Received: from unknown (HELO ?192.168.0.101?) (yao@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 Jan 2011 13:58:38 -0000 Message-ID: <4D25CA81.3040102@codesourcery.com> Date: Thu, 06 Jan 2011 13:58:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Joel Brobecker CC: gdb-patches@sourceware.org Subject: Re: FYI: My Coding Style cheat-sheet on the Wiki References: <20110106083223.GC2361@adacore.com> In-Reply-To: <20110106083223.GC2361@adacore.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-01/txt/msg00125.txt.bz2 On 01/06/2011 04:32 PM, Joel Brobecker wrote: > I hope that it helps others. Everyone should feel free to update > and enhance this document, if they find it useful. I hope that > the cheap-to-update simplicity of the Wiki will encourage anyone > to do so. > > http://sourceware.org/gdb/wiki/JoelsCodingStyleCheatSheet > /* The maximum number of tasks known to the Ada runtime */ > static const int MAX_NUMBER_OF_KNOWN_TASKS = 1000; What is the expected/correct format of comment here? Isn't ended with period and two spaces? If we still follow the "period and two spaces" schema here, I'll update this wikipage and source code to reflect this. -- Yao (齐尧)