[msvcrt] Implement %I types for printf

Dmitry Timoshkov dmitry at baikal.ru
Mon Jun 6 03:32:12 CDT 2005


"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?


-- 
Dmitry.




More information about the wine-devel mailing list