Skip to content

Commit

Permalink
Undo a prospective fix from rurban++. We don't want to flush stdout e…
Browse files Browse the repository at this point in the history
…very time we read from any filehandle.
  • Loading branch information
Whiteknight committed Sep 28, 2012
1 parent c2c9597 commit 3260e22
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/io/api.c
Expand Up @@ -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)
Expand Down

0 comments on commit 3260e22

Please sign in to comment.