From 68bd3326bf4b1598c94dd60416da3ae82b4139ee Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 10 Aug 2001 00:01:27 +0000 Subject: Update. 2001-08-09 Ulrich Drepper * time/tst-strptime.c: Add tests in different locales. * time/Makefile (tst-strptime-ENV): Define. --- stdio-common/vfscanf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdio-common') diff --git a/stdio-common/vfscanf.c b/stdio-common/vfscanf.c index 6312af719e..3c5bccbdc6 100644 --- a/stdio-common/vfscanf.c +++ b/stdio-common/vfscanf.c @@ -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; -- cgit v1.2.3