mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
[BZ #6719]
2008-07-08 Ulrich Drepper <drepper@redhat.com> [BZ #6719] * libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags when selecting fully-buffered stream. Patch by Wang Xin <wxinee@gmail.com>.
This commit is contained in:
parent
80d4197644
commit
38dc8fad64
@ -1,3 +1,10 @@
|
||||
2008-07-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
[BZ #6719]
|
||||
* libio/iosetvbuf.c (_IO_setvbuf): Correctly clear buffering flags
|
||||
when selecting fully-buffered stream.
|
||||
Patch by Wang Xin <wxinee@gmail.com>.
|
||||
|
||||
2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* sysdeps/mach/hurd/open.c: Include <stdio.h>.
|
||||
|
@ -45,7 +45,7 @@ _IO_setvbuf (fp, buf, mode, size)
|
||||
switch (mode)
|
||||
{
|
||||
case _IOFBF:
|
||||
fp->_IO_file_flags &= ~_IO_LINE_BUF|_IO_UNBUFFERED;
|
||||
fp->_IO_file_flags &= ~(_IO_LINE_BUF|_IO_UNBUFFERED);
|
||||
if (buf == NULL)
|
||||
{
|
||||
if (fp->_IO_buf_base == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user