mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-09 10:50:08 +00:00
Update.
2003-01-15 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfscanf.c: When recognizing multibyte characters in string reset the byte counter after mbrtowc reported it is not a partial character. Reported by Al Viro <aviro@redhat.com>.
This commit is contained in:
parent
c16abc04e8
commit
0f74005938
@ -1,3 +1,9 @@
|
|||||||
|
2003-01-15 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* stdio-common/vfscanf.c: When recognizing multibyte characters in
|
||||||
|
string reset the byte counter after mbrtowc reported it is not a
|
||||||
|
partial character. Reported by Al Viro <aviro@redhat.com>.
|
||||||
|
|
||||||
2003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
|
2003-01-15 Steven Munroe <sjmunroe@us.ibm.com>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Include
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
/* Copyright (C) 1991-2002, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -2108,6 +2108,7 @@ __vfscanf (FILE *s, const char *format, va_list argptr)
|
|||||||
assert (cnt < MB_CUR_MAX);
|
assert (cnt < MB_CUR_MAX);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
cnt = 0;
|
||||||
|
|
||||||
++wstr;
|
++wstr;
|
||||||
if ((flags & MALLOC)
|
if ((flags & MALLOC)
|
||||||
|
Loading…
Reference in New Issue
Block a user