From owner-svn-src-all@FreeBSD.ORG Tue Jan 17 06:03:13 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12490106564A for ; Tue, 17 Jan 2012 06:03:13 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CDC0B8FC14 for ; Tue, 17 Jan 2012 06:03:12 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so2626810obc.13 for ; Mon, 16 Jan 2012 22:03:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bxy/q746xv7jbGXUVpdAwDKCBx5ioK/ScD8aoxjqpXM=; b=PcGhIi0EoaIc7X2U6WaSmnxk85jqzIJq+Aw+G1H50/u/1sceo5CCCrw86tcaApDEs0 M6f1zTl0/nwmt3CvpyysBuWpNpYKe3ebp8Sqjrkc7FXlujkid3dU1kIlruMq8Qi1PLmO g2Bwu6nmIor4d3DMUxoWWh4GLysuOKkNhNisI= MIME-Version: 1.0 Received: by 10.182.11.37 with SMTP id n5mr4655867obb.13.1326780192253; Mon, 16 Jan 2012 22:03:12 -0800 (PST) Received: by 10.182.171.67 with HTTP; Mon, 16 Jan 2012 22:03:12 -0800 (PST) In-Reply-To: <20120116221327.GA14166@britannica.bec.de> References: <201201162042.q0GKguDA051030@svn.freebsd.org> <20120116221327.GA14166@britannica.bec.de> Date: Tue, 17 Jan 2012 09:03:12 +0300 Message-ID: From: Sergey Kandaurov To: Joerg Sonnenberger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-all@freebsd.org Subject: Re: svn commit: r230231 - head/sys/kern X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 06:03:13 -0000 On 17 January 2012 02:13, Joerg Sonnenberger wrot= e: > On Mon, Jan 16, 2012 at 08:42:56PM +0000, Sergey Kandaurov wrote: >> Log: >> =A0 Be pedantic and change // comment to C-style one. > > If you want to be pedantic, at least be correct. // is perfectly valid > C99. > Yes, you're right. Sorry for being confusing in the commit message. The intention was to provide comments with pre-C99 syntax for syntax-checking / static analyzing tools which old enough to not understand this syntax but otherwise still good. Also, style(9) doesn't describe or cite //-style comments, which is usually treated there as "avoid it to use". This was only such comment in sys/kern. After this change there is no // comments in sys/sys, sys/kern, sys/vm in head. --=20 wbr, pluknet