mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
vfprintf: Reduce WORK_BUFFER_SIZE for wchar_t builds
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2017-06-29 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
|
* stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
|
||||||
|
wchar_t builds.
|
||||||
|
|
||||||
2017-06-29 Florian Weimer <fweimer@redhat.com>
|
2017-06-29 Florian Weimer <fweimer@redhat.com>
|
||||||
|
|
||||||
* stdio-common/tst-vfprintf-mbs-prec.c: New file.
|
* stdio-common/tst-vfprintf-mbs-prec.c: New file.
|
||||||
|
@ -205,7 +205,7 @@ typedef wchar_t THOUSANDS_SEP_T;
|
|||||||
static const CHAR_T null[] = L_("(null)");
|
static const CHAR_T null[] = L_("(null)");
|
||||||
|
|
||||||
/* Size of the work_buffer variable (in characters, not bytes. */
|
/* Size of the work_buffer variable (in characters, not bytes. */
|
||||||
enum { WORK_BUFFER_SIZE = 1000 };
|
enum { WORK_BUFFER_SIZE = 1000 / sizeof (CHAR_T) };
|
||||||
|
|
||||||
/* This table maps a character into a number representing a class. In
|
/* This table maps a character into a number representing a class. In
|
||||||
each step there is a destination label for each class. */
|
each step there is a destination label for each class. */
|
||||||
|
Reference in New Issue
Block a user