[ros-diffs] [greatlrd] 22252: implement datatype I32 for *printf string version we have a *printf for files as well now 29 fails in wine test msvcrt printf
greatlrd at svn.reactos.org
greatlrd at svn.reactos.org
Tue Jun 6 23:42:43 CEST 2006
Author: greatlrd
Date: Wed Jun 7 01:42:42 2006
New Revision: 22252
URL: http://svn.reactos.ru/svn/reactos?rev=22252&view=rev
Log:
implement datatype I32 for *printf string version we have a *printf for files as well
now 29 fails in wine test msvcrt printf
Modified:
trunk/reactos/lib/rtl/sprintf.c
trunk/reactos/lib/rtl/swprintf.c
Modified: trunk/reactos/lib/rtl/sprintf.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/sprintf.c?rev=22252&r1=22251&r2=22252&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/sprintf.c (original)
+++ trunk/reactos/lib/rtl/sprintf.c Wed Jun 7 01:42:42 2006
@@ -459,7 +459,10 @@
} else if (*fmt == 'I' && *(fmt+1) == '6' && *(fmt+2) == '4') {
qualifier = *fmt;
fmt += 3;
- }
+ } else if (*fmt == 'I' && *(fmt+1) == '3' && *(fmt+2) == '2') {
+ qualifier = 'l';
+ fmt += 3;
+ }
/* default base */
base = 10;
Modified: trunk/reactos/lib/rtl/swprintf.c
URL: http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/swprintf.c?rev=22252&r1=22251&r2=22252&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/swprintf.c (original)
+++ trunk/reactos/lib/rtl/swprintf.c Wed Jun 7 01:42:42 2006
@@ -457,7 +457,10 @@
} else if (*fmt == L'I' && *(fmt+1) == L'6' && *(fmt+2) == L'4') {
qualifier = *fmt;
fmt += 3;
- }
+ } else if (*fmt == L'I' && *(fmt+1) == L'3' && *(fmt+2) == L'2') {
+ qualifier = L'l';
+ fmt += 3;
+ }
/* default base */
base = 10;
More information about the Ros-diffs
mailing list