Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2009 14:19:28 +1100 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        d@delphij.net
Cc:        freebsd-arch@FreeBSD.org
Subject:   Re: SCCS IDs in old code
Message-ID:  <20090304141253.V17817@delplex.bde.org>
In-Reply-To: <49ADBE3D.10508@delphij.net>
References:  <49ADBE3D.10508@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Mar 2009, Xin LI wrote:

> I'd like to know if there would be any objections if things like:
>
> static char sccsid[] = "@(#)rec_utils.c 8.6 (Berkeley) 7/16/94"
>
> Be moved into the comment right after the copyright header?  Personally

Of course there would be objections.

> I don't see much point keeping 'em just in order to make -DLIBC_SCCS
> work, since these code changes from time to time and the version number
> and dates are no longer relevant, perhaps, they should be better just
> kept in the comment for reference from historical code.

style(9) requires keeping vendor ids unedited and unmoved and
uncommented-out and not attached to the FreeBSD id in `#if 0' blocks.
rec_utils.c follows the no-edit no-move rules but not the other 2.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090304141253.V17817>