Martin Storsjo : ucrtbase: Implement some printf functions.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Oct 28 10:16:14 CDT 2015


Module: wine
Branch: master
Commit: 255a7fe06758de5e69dfc4ab20cddc6e6e4d331d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=255a7fe06758de5e69dfc4ab20cddc6e6e4d331d

Author: Martin Storsjo <martin at martin.st>
Date:   Tue Oct 27 23:42:15 2015 +0200

ucrtbase: Implement some printf functions.

Not all functions are implemented (yet not all variants are
implemented in the normal msvcrt either).

The new functions are more generalized and are C99 compliant.
They take an options parameter that e.g. for the snprintf
family of functions indicate whether the truncation and return
value should be handled as before or in the standards compliant
way.

Signed-off-by: Martin Storsjo <martin at martin.st>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 .../api-ms-win-crt-stdio-l1-1-0.spec               |  12 +-
 dlls/msvcrt/file.c                                 |  28 ++
 dlls/msvcrt/wcs.c                                  |  94 ++++++
 dlls/ucrtbase/tests/Makefile.in                    |   1 +
 dlls/ucrtbase/tests/printf.c                       | 329 +++++++++++++++++++++
 dlls/ucrtbase/ucrtbase.spec                        |  12 +-
 6 files changed, 464 insertions(+), 12 deletions(-)

Diff:   http://source.winehq.org/git/wine.git/?a=commitdiff;h=255a7fe06758de5e69dfc4ab20cddc6e6e4d331d



More information about the wine-cvs mailing list