diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-27 00:16:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-27 00:16:51 +0000 |
commit | 0a04075ed9766681c796dfe0f2e2fb81881f09ba (patch) | |
tree | cd119d2b35e7172478d025f98ac1da2718c723ed /libio/iosetvbuf.c | |
parent | 543cf8a9e162a9a812770c628fa06c7a256752ee (diff) | |
download | glibc-0a04075ed9766681c796dfe0f2e2fb81881f09ba.tar.gz glibc-0a04075ed9766681c796dfe0f2e2fb81881f09ba.tar.xz glibc-0a04075ed9766681c796dfe0f2e2fb81881f09ba.zip |
Update.
2001-03-26 Ulrich Drepper <drepper@redhat.com> * libio/Makefile (tests): Add tst-ext. * libio/tst-ext.c: New file. * libio/iosetvbuf.c (_IO_setvbuf): Clear line buffer flag for _IONBF.
Diffstat (limited to 'libio/iosetvbuf.c')
-rw-r--r-- | libio/iosetvbuf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libio/iosetvbuf.c b/libio/iosetvbuf.c index 673677191a..bff286b028 100644 --- a/libio/iosetvbuf.c +++ b/libio/iosetvbuf.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1993,96,97,98,99,2000,2001 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -82,6 +82,8 @@ _IO_setvbuf (fp, buf, mode, size) } break; case _IONBF: + fp->_IO_file_flags &= ~_IO_LINE_BUF; + fp->_IO_file_flags |= _IO_UNBUFFERED; buf = NULL; size = 0; break; |