Commit Graph

13 Commits

Author SHA1 Message Date
Piotr Caban 92731ccbbe ntdll: Use SIZE_T to store passed buffer size in sprintf.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-31 00:33:46 +01:00
Jacek Caban 4c2afc8ad9 ntdll: Implement _snprintf_s and _vsnprintf_s.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 23:44:24 +02:00
Jacek Caban b350095b76 ntdll: Move null terminating result to pf_vsnprintf callers.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 23:44:24 +02:00
Piotr Caban 073bb1d0b4 ntdll: Use NTDLL_tolower instead of toupper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:22 +01:00
Alexandre Julliard a5b67f3fdd ntdll: Use WINAPIV calling convention for variadic functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:16:54 +01:00
Akihiro Sagawa ea6e51744f ntdll: Avoid using isdigit() for WCHARs.
Found with Coccinelle.

Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 16:11:15 +02:00
Sebastian Lackner 3c2dc4a7b3 ntdll: Allow passing NULL buffer to printf functions. 2013-12-23 12:05:07 +01:00
Sebastian Lackner 805311f798 ntdll: Don't do further calls to pf_output_stringA if previous call failed. 2013-12-20 17:09:09 +01:00
Sebastian Lackner 29de7dd60b ntdll: Handle error if RtlAllocateHeap fails in printf functions. 2013-12-20 11:13:11 +01:00
Sebastian Lackner 661212b5f5 ntdll: Fix incorrect value added to out->used in pf_output_stringA. 2013-12-20 11:13:11 +01:00
Frédéric Delanoy 57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Michael Stefaniuc abef6ab366 ntdll: Avoid TRUE:FALSE conditional expressions. 2012-08-14 11:58:40 +02:00
Alexandre Julliard 649a576fd0 ntdll: Copy the msvcrt printf implementation to ntdll to allow supporting MS ABI varargs. 2009-01-28 19:38:19 +01:00