Permalink
Browse files

Undo a prospective fix from rurban++. We don't want to flush stdout e…

…very time we read from any filehandle.
  • Loading branch information...
1 parent fce720f commit b0ad28c6edcba83eb5cbb70470377437ddc4e861 @Whiteknight Whiteknight committed with rurban Sep 28, 2012
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/io/api.c
View
3 src/io/api.c
@@ -958,9 +958,6 @@ Parrot_io_readline_s(PARROT_INTERP, ARGMOD(PMC *handle), ARGIN(STRING * terminat
size_t max_delimiter_byte_size = 0;
io_sync_buffers_for_read(interp, handle, vtable, read_buffer, write_buffer);
- if (!write_buffer)
- Parrot_io_flush(interp, _PIO_STDOUT(interp));
-
io_verify_is_open_for(interp, handle, vtable, PIO_F_READ);
if (read_buffer == NULL)

0 comments on commit b0ad28c

Please sign in to comment.