2003-11-24 Artem B. Bityuckiy <mail_lists@mail.ru>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format specifier to use ch instead of *fmt.
This commit is contained in:
parent
46c6a3e8eb
commit
6db165c2a5
|
@ -1,3 +1,8 @@
|
|||
2003-11-24 Artem B. Bityuckiy <mail_lists@mail.ru>
|
||||
|
||||
* libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
|
||||
specifier to use ch instead of *fmt.
|
||||
|
||||
2003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>
|
||||
|
||||
* libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
|
||||
|
|
|
@ -746,7 +746,7 @@ reswitch: switch (ch) {
|
|||
case 'c':
|
||||
case 'C':
|
||||
cp = buf;
|
||||
if (*fmt == 'C' || (flags & LONGINT)) {
|
||||
if (ch == 'C' || (flags & LONGINT)) {
|
||||
mbstate_t ps;
|
||||
|
||||
memset((void *)&ps, '\0', sizeof(mbstate_t));
|
||||
|
|
Loading…
Reference in New Issue