This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for printf's "%If"


On Fri, 19 Dec 2003, Hamed Malek wrote:

> On Thu, 18 Dec 2003, Joseph S. Myers wrote:
>
> > In GCC I've implemented the format checking for it as a
> > flag for decimal integer printf formats - though the glibc format code
> > looks like it handles this flag after width and precision as well as where
> > normal flags are accepted.
> >
> Would you implement the same for decimal float numbers in GCC?

Attached is the patch for gcc-3.3.2 (against Rawhide SRPM build
actually) to understand %If.  Moreover, I removed %Id and friends
from scanf, as glibc does not support them yet.  I will get into
implementing that if there is no reason not to do that.

behdad

PS: Hamed, Roozbeh:  Would you bring the patch to the right place
if it's not the here please.

> Hamed Malek

Attachment: gcc-3.3.2-be-percentIf.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]