From owner-freebsd-current Thu Mar 11 13: 8:39 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id 69FB11513B for ; Thu, 11 Mar 1999 13:08:34 -0800 (PST) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id IAA19103; Fri, 12 Mar 1999 08:08:15 +1100 Date: Fri, 12 Mar 1999 08:08:15 +1100 From: Bruce Evans Message-Id: <199903112108.IAA19103@godzilla.zeta.org.au> To: bde@zeta.org.au, dfr@nlsystems.com Subject: Re: Proposed change to printf Cc: current@freebsd.org Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> >@@ -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. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message