From owner-freebsd-arch Mon Aug 13 7:39:32 2001 Delivered-To: freebsd-arch@freebsd.org Received: from columbus.cris.net (ns.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id DF92C37B403; Mon, 13 Aug 2001 07:39:22 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id RAA29841; Mon, 13 Aug 2001 17:39:20 +0300 (EEST) Received: (from ml@localhost) by phantom.cris.net (8.11.1/8.11.1) id f7DEfEX26493; Mon, 13 Aug 2001 17:41:14 +0300 (EEST) (envelope-from ml) Date: Mon, 13 Aug 2001 17:41:14 +0300 From: Alexey Zelkin To: Ruslan Ermilov Cc: Bruce Evans , "David O'Brien" , arch@FreeBSD.ORG Subject: Re: __RCSID() and __VERSION() macros and their ``static const char'' equivalents Message-ID: <20010813174114.A26468@phantom.cris.net> References: <20010813165753.A74504@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010813165753.A74504@sunbay.com>; from ru@FreeBSD.ORG on Mon, Aug 13, 2001 at 04:57:54PM +0300 X-Operating-System: FreeBSD 4.2-STABLE i386 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, I raised almost same questions two months ago. We even came to conclusion, but David asked to suspend this task until he'll make some kinds of this black magic in FreeBSD src tree (to avoid merge conflicts). But I still not hear anything back. On Mon, Aug 13, 2001 at 04:57:54PM +0300, Ruslan Ermilov wrote: > Bruce, David! > > What is the reason why we should use the old style VCS ID declarations > like this: > > static const char rcsid[] = > "$FreeBSD$"; > > instead of their modern equivalent, __RCSID() macro? > > Not only the macro is backwards compatible in the non-gcc or non-ELF > case, but it also "produces" more compact objects. > > Similarly for copyright[] versus __COPYRIGHT(). > > (This is documented in the style(9) policy document.) > > > Cheers, > -- > Ruslan Ermilov Oracle Developer/DBA, > ru@sunbay.com Sunbay Software AG, > ru@FreeBSD.org FreeBSD committer, > +380.652.512.251 Simferopol, Ukraine > > http://www.FreeBSD.org The Power To Serve > http://www.oracle.com Enabling The Information Age > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message