[msvcrt] Implement %I types for printf

Jesse Allen the3dfxdude at gmail.com
Mon Jun 6 08:04:21 CDT 2005


On 6/6/05, Dmitry Timoshkov <dmitry at baikal.ru> wrote:
> "Jesse Allen" <the3dfxdude at gmail.com> wrote:
> 
> > +    if( flags->IntegerLength == 'I' )
> > +    {
> > +        sprintf(p, "l");
> > +        p++;
> > +    }
> > +    if( flags->IntegerSize == INTEGERSIZE_LONGLONG )
> > +    {
> > +        sprintf(p, "l");
> > +        p++;
> > +    }
> 
> sprintf is very inefficient here, why not use simple strcpy instead?
> 
> 

Oops...  I changed it to "*p = 'l';"




More information about the wine-devel mailing list