From owner-freebsd-current Thu Mar 11 14:46:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 2DC7615248 for ; Thu, 11 Mar 1999 14:44:33 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id WAA31423; Thu, 11 Mar 1999 22:45:23 GMT (envelope-from dfr@nlsystems.com) Date: Thu, 11 Mar 1999 22:45:23 +0000 (GMT) From: Doug Rabson To: Bruce Evans Cc: current@freebsd.org Subject: Re: Proposed change to printf In-Reply-To: <199903112108.IAA19103@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 12 Mar 1999, Bruce Evans wrote: > >> >@@ -1016,7 +1019,10 @@ > >> > flags |= SHORTINT; > >> > goto rflag; > >> > case 'l': > >> >- flags |= LONGINT; > >> >+ if (flags & LONGINT) > >> >+ flags |= QUADINT; > >> >+ else > >> >+ flags |= LONGINT; > >> > goto rflag; > >> > case 'q': > >> > flags |= QUADINT; > >> > >> This assumes that long longs have the same representation as quad_t's. > >> I suppose not doing a global change from quad_t to long long is best, > >> because the change should actually be to C9x's intmax_t to support C9x's > >> %m formats. > > > >So is the patch correct enough to commit then? > > Yes. Thanks. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message