From owner-cvs-all Wed Sep 5 16:39:17 2001 Delivered-To: cvs-all@freebsd.org Received: from earth.backplane.com (earth-nat-cw.backplane.com [208.161.114.67]) by hub.freebsd.org (Postfix) with ESMTP id CE6BF37B408; Wed, 5 Sep 2001 16:39:12 -0700 (PDT) Received: (from dillon@localhost) by earth.backplane.com (8.11.6/8.11.2) id f85Nd7n03683; Wed, 5 Sep 2001 16:39:07 -0700 (PDT) (envelope-from dillon) Date: Wed, 5 Sep 2001 16:39:07 -0700 (PDT) From: Matt Dillon Message-Id: <200109052339.f85Nd7n03683@earth.backplane.com> To: "David O'Brien" Cc: Kris Kennaway , "Andrey A. Chernov" , Mark Peek , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: macro recommendation (Was Re: cvs commit: src/lib/libc/stdlib strtol.3 strtol.c strtoll.c strtoq.c strtoul.3 strtoul.c strtoull.c strtouq.c) References: <200109041705.f84H5W692572@earth.backplane.com> <20010904122843.A56085@xor.obsecurity.org> <20010904233320.A34429@nagual.pp.ru> <20010904123718.A56317@xor.obsecurity.org> <20010904234757.A34576@nagual.pp.ru> <20010904125125.A56758@xor.obsecurity.org> <20010904140449.B75606@dragon.nuxi.com> <200109042122.f84LMcm95136@earth.backplane.com> <20010904145320.A76317@dragon.nuxi.com> <200109042205.f84M5YM95627@earth.backplane.com> <20010905085206.B95963@dragon.nuxi.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG : :On Tue, Sep 04, 2001 at 03:05:34PM -0700, Matt Dillon wrote: :> :Please! I already have a prototype in works. I'm sure there are other :> :things for people to work on. :> :> sys/cdefs.h ? I think it's perfect, lets use it... I don't understand :> why you haven't instrumented all the library source files already, :> though, or at least more then have been, : :I have been working out the style issues with BDE for several months. :Also, if you want a truely portable usage, we cannot use __RCSID() :because too much NetBSD and vendor sources use it. Peter's hack will not :work for all compilers. I would have prefered a __FBSD() and __CSRG() :macro for the same reasons we switched to $FreeBSD$ from $Id$. These :would have worked for all compilers, but I cannot complete with an effort :backed by Peter. : :-- :-- David (obrien@FreeBSD.org) We should probably keep with the 'ID' part... __FBSDID() or __FREEBSDID() would be good names. __FBSD() would not be because it's too generic. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message