[PATCH] msvcrt: Add _snprintf_c[_l].

Piotr Caban piotr.caban at gmail.com
Mon Sep 14 04:48:06 CDT 2020


Hi Gijs,

On 9/13/20 3:21 PM, Gijs Vermeulen wrote:
> -@ stub _snprintf_c
> -@ stub _snprintf_c_l
> +@ varargs _snprintf_c(ptr long str) MSVCRT__snprintf
> +@ varargs _snprintf_c_l(ptr long str ptr) MSVCRT__snprintf_l
The _snprintf_c is different than _snprintf function. I didn't check 
what differs but when I call _snprintf_c in _snprintf tests I'm getting 
following errors:
printf.c:445: Test failed: "justfits": expected 8, returned -1
printf.c:447: Test failed: "justfits": rendered ""
printf.c:447: Test failed: "muchlonger": rendered ""

Thanks,
Piotr



More information about the wine-devel mailing list