Date: Wed, 5 Sep 2001 17:14:56 -0700 (PDT) From: Matt Dillon <dillon@earth.backplane.com> To: Peter Wemm <peter@wemm.org> Cc: obrien@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>, "Andrey A. Chernov" <ache@nagual.pp.ru>, Mark Peek <mark@whistle.com>, 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: <200109060014.f860Eup04096@earth.backplane.com> References: <20010905234646.9BBAF380A@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
:
:"David O'Brien" wrote:
:> 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.
:
:I dont care if it's called __FRED(). My hack will work for all
:compilers, in *.c files. It only gets hairy if you try and add them to
:headers (probably a bad idea anyway).
:
:Feel free to add __FOO(), __FBSD(), __GRANDMA() or whatever you like. The
:tools are there, just pick a new prefix name.
:
:Cheers,
:-Peter
:--
:Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
David, if you choose the name and commit it I will commit adjustments
to use to a library of your choice (or sub-module of libc of your choice)
to get some momentum built up. Maybe even more then one!
-Matt
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109060014.f860Eup04096>
