Re: Proposed change to printf

1999-03-11 Thread Doug Rabson
On Fri, 12 Mar 1999, Bruce Evans wrote: > >> >@@ -1016,7 +1019,10 @@ > >> > flags |= SHORTINT; > >> > goto rflag; > >> > case 'l': > >> >- flags |= LONGINT; > >> >+ if (flags & LONGINT) > >> >+ flags

Re: Proposed change to printf

1999-03-11 Thread Doug Rabson
On Fri, 12 Mar 1999, Bruce Evans wrote: > >> >@@ -1016,7 +1019,10 @@ > >> > flags |= SHORTINT; > >> > goto rflag; > >> > case 'l': > >> >- flags |= LONGINT; > >> >+ if (flags & LONGINT) > >> >+ flags

Re: Proposed change to printf

1999-03-11 Thread Bruce Evans
>> >@@ -1016,7 +1019,10 @@ >> >flags |= SHORTINT; >> >goto rflag; >> >case 'l': >> >- flags |= LONGINT; >> >+ if (flags & LONGINT) >> >+ flags |= QUADINT; >> >+ else >

Re: Proposed change to printf

1999-03-11 Thread Doug Rabson
On Thu, 11 Mar 1999, Bruce Evans wrote: > >I want to make this change to printf so that it treats format codes like > >'%llx' as 64bit formats (i.e. the same as '%qx'). This convention is the > >same as that used by glibc. > > %llx is actually for unsigned long longs, and %qx is actually for >

Re: Proposed change to printf

1999-03-11 Thread Bruce Evans
>I want to make this change to printf so that it treats format codes like >'%llx' as 64bit formats (i.e. the same as '%qx'). This convention is the >same as that used by glibc. %llx is actually for unsigned long longs, and %qx is actually for u_quad_t's. These types are different for FreeBSD on