mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update.
2001-08-09 Ulrich Drepper <drepper@redhat.com> * time/tst-strptime.c: Add tests in different locales. * time/Makefile (tst-strptime-ENV): Define.
This commit is contained in:
@ -755,7 +755,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
{
|
||||
/* We have to convert the multibyte input sequence to wide
|
||||
characters. */
|
||||
char buf[0];
|
||||
char buf[1];
|
||||
mbstate_t cstate;
|
||||
|
||||
memset (&cstate, '\0', sizeof (cstate));
|
||||
@ -1058,7 +1058,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
||||
}
|
||||
#else
|
||||
{
|
||||
char buf[0];
|
||||
char buf[1];
|
||||
|
||||
buf[0] = c;
|
||||
|
||||
|
Reference in New Issue
Block a user