Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2012 09:03:12 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Joerg Sonnenberger <joerg@britannica.bec.de>
Cc:        svn-src-all@freebsd.org
Subject:   Re: svn commit: r230231 - head/sys/kern
Message-ID:  <CAE-mSOJaWNB80e2ZOJDeFXYywfZoCtk9HRhv9i6q2=e=OLArug@mail.gmail.com>
In-Reply-To: <20120116221327.GA14166@britannica.bec.de>
References:  <201201162042.q0GKguDA051030@svn.freebsd.org> <20120116221327.GA14166@britannica.bec.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 January 2012 02:13, Joerg Sonnenberger <joerg@britannica.bec.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJaWNB80e2ZOJDeFXYywfZoCtk9HRhv9i6q2=e=OLArug>