[PATCH] msvcrt: The '*' character should be interpreted as the beginning of the width specification

Piotr Caban piotr.caban at gmail.com
Fri Nov 5 14:22:40 CDT 2021


Hi Andrew,

On 11/5/21 19:49, Andrew Eikum wrote:
> Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
> ---
> 
> For example,
> 
>      "%*0d", 1, ...
> 
> becomes
> 
>      "%10d", ...
> 
> i.e. prints ten digits.
It looks like a bug in native implementation. It also got fixed in newer 
versions of C runtime (I have only checked ucrtbase). Is there an 
application that depends on that?

Thanks,
Piotr



More information about the wine-devel mailing list