diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-08-10 00:01:27 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-08-10 00:01:27 +0000 |
commit | 68bd3326bf4b1598c94dd60416da3ae82b4139ee (patch) | |
tree | b7d0469ede409f8b7afc70e7333a1a193433e9bd /stdio-common/vfscanf.c | |
parent | 30d13751354ba7eeabbce754b06650b99884c3c3 (diff) | |
download | glibc-68bd3326bf4b1598c94dd60416da3ae82b4139ee.tar.gz |
Update.
2001-08-09 Ulrich Drepper <drepper@redhat.com>
* time/tst-strptime.c: Add tests in different locales.
* time/Makefile (tst-strptime-ENV): Define.
Diffstat (limited to 'stdio-common/vfscanf.c')
-rw-r--r-- | stdio-common/vfscanf.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |