From 7442852cad2d71788fb2ca89a5501a24292d54f7 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 18 Dec 1995 11:02:18 +0000 Subject: [PATCH] Removed unclear test --- lang/cem/libcc.ansi/stdio/setvbuf.c | 3 --- 1 file changed, 3 deletions(-) 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;