implement datatype I32 for *printf string version we have a *printf for files as well

now 29 fails in wine test msvcrt printf
 

svn path=/trunk/; revision=22252
This commit is contained in:
Magnus Olsen 2006-06-06 21:42:42 +00:00
parent a25a59160d
commit 4f6d8e38f4
2 changed files with 8 additions and 2 deletions

View file

@ -459,7 +459,10 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
} 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;

View file

@ -457,7 +457,10 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
} 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;