diff --git a/lang/cem/libcc.ansi/stdio/setvbuf.c b/lang/cem/libcc.ansi/stdio/setvbuf.c index c6dd3dc46..2c5e769df 100644 --- a/lang/cem/libcc.ansi/stdio/setvbuf.c +++ b/lang/cem/libcc.ansi/stdio/setvbuf.c @@ -32,9 +32,6 @@ setvbuf(register FILE *stream, char *buf, int mode, size_t size) } } - if (io_testflag(stream, _IOREADING) || io_testflag(stream, _IOWRITING)) - retval = EOF; - stream->_buf = (unsigned char *) buf; stream->_count = 0;