From owner-cvs-all Wed Sep 5 8:52:51 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id 2F26637B405; Wed, 5 Sep 2001 08:52:43 -0700 (PDT) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.5/8.11.1) id f85Fq6X96294; Wed, 5 Sep 2001 08:52:06 -0700 (PDT) (envelope-from obrien) Date: Wed, 5 Sep 2001 08:52:06 -0700 From: "David O'Brien" To: Matt Dillon 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) Message-ID: <20010905085206.B95963@dragon.nuxi.com> Reply-To: obrien@FreeBSD.org 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109042205.f84M5YM95627@earth.backplane.com>; from dillon@earth.backplane.com on Tue, Sep 04, 2001 at 03:05:34PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 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) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message