From owner-freebsd-arch Tue Nov 27 18:48:11 2001 Delivered-To: freebsd-arch@freebsd.org Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by hub.freebsd.org (Postfix) with ESMTP id 2D3A037B416; Tue, 27 Nov 2001 18:48:08 -0800 (PST) Received: (from jwd@localhost) by bsdone.bsdwins.com (8.11.6/8.11.0) id fAS2m3T16927; Tue, 27 Nov 2001 21:48:03 -0500 (EST) (envelope-from jwd) Date: Tue, 27 Nov 2001 21:48:03 -0500 From: "John W. De Boskey" To: freebsd-arch@FreeBSD.ORG Cc: Sheldon Hearn , The Anarcat , Mike Barcroft Subject: Re: C99 standard: stdint.h Message-ID: <20011127214803.A16836@bsdwins.com> References: <20011127183307.GB520@shall.anarcat.dyndns.org> <85636.1006886466@axl.seasidesoftware.co.za> <20011127201745.A13067@espresso.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011127201745.A13067@espresso.q9media.com>; from mike@FreeBSD.ORG on Tue, Nov 27, 2001 at 08:17:45PM -0500 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 Another small c99 related issue is va_copy(). I posted about this to -current a few weeks back and received zero feedback... Index: sys/i386/include/stdarg.h =================================================================== RCS file: /home/ncvs/src/sys/i386/include/stdarg.h,v retrieving revision 1.11 diff -u -r1.11 stdarg.h --- sys/i386/include/stdarg.h 19 Oct 2001 20:07:46 -0000 1.11 +++ sys/i386/include/stdarg.h 26 Oct 2001 22:33:21 -0000 @@ -55,6 +55,8 @@ #define va_arg(ap, type) \ (*(type *)((ap) += __va_size(type), (ap) - __va_size(type))) +#define va_copy(d,s) ((va_list)(d) = (va_list)(s)) + #define va_end(ap) #endif /* !_STDARG_H_ */ -John ----- Mike Barcroft's Original Message ----- > Sheldon Hearn writes: > > On Tue, 27 Nov 2001 13:33:08 EST, The Anarcat wrote: > > > > | I know we have sys/types.h and that we don't really *need* stdint.h, but > > | shouldn't we include it anyways, just for standards compliance sake? > > > > Yes, and we do in -CURRENT. Allow it time to melt down to -STABLE. :-) > > There are a couple items that I would like completed before MFCing > and , namely most of the new printf(3) and > scanf(3) functionality. I maintain a project web page detailing the > current tasks, [http://people.FreeBSD.org/~mike/c99/]. > > Best regards, > Mike Barcroft > > 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