Date: Sat, 21 Apr 2001 16:32:52 -0700 From: Kris Kennaway <kris@obsecurity.org> To: David O'Brien <obrien@FreeBSD.org> Cc: Bruce Evans <bde@zeta.org.au>, Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/xlint Makefile src/usr.bin/xlint/lint1 Makefile cgram.y decl.c emit.c emit1.c err.c externs.h externs1.h func.c init.c lint.h lint1.h main1.c mem.c mem1.c op.h param.h scan.l tree.c src/usr.bin/xlint/lint2 Makefile chk.c emit2.c ... Message-ID: <20010421163252.A23185@xor.obsecurity.org> In-Reply-To: <20010421160805.A80262@dragon.nuxi.com>; from obrien@FreeBSD.org on Sat, Apr 21, 2001 at 04:08:05PM -0700 References: <200104211117.f3LBHj314423@freefall.freebsd.org> <Pine.BSF.4.21.0104220555120.4620-100000@besplex.bde.org> <20010421160805.A80262@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sat, Apr 21, 2001 at 04:08:05PM -0700, David O'Brien wrote:
> On Sun, Apr 22, 2001 at 05:58:30AM +1000, Bruce Evans wrote:
> > The tab is correct for $NetBSD$, and for CSRG ids... The (2) spaces for
> > $FreeBSD$ is a hack to give $FreeBSD$ some chance of fitting in 80 columns.
>
> Should be one (1) space (ASCII 0x20) between comment character and
> initial '$':
>
> # $FreeBSD$
>
> /* $FreeBSD$ */
>
> /*
> * Box comment...
> *
> * $FreeBSD$
> *
> */
>
> .\" $FreeBSD$
Please add this to style(9) along with information about how to embed
other SCCSID and RCSID lines in the source. e.g:
#ifndef lint
static char const copyright[] =
"@(#) Copyright (c) 1990, 1993, 1994\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
"$FreeBSD: src/bin/ps/ps.c,v 1.37 2001/04/07 02:53:35 brian Exp $";
#endif /* not lint */
#ifndef lint
I always have to check an existing file when I want to add a rcsid[]
to a file, so I risk getting it wrong if I check the wrong one :-)
Kris
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org
iD8DBQE64hikWry0BWjoQKURAgHMAKCiEG1niO/gFNpgvcd/avKJqTAnKwCZATFx
IIEznjVWdPUDOF6GZ46O8pM=
=viG8
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010421163252.A23185>
