Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Start using nqp::flushfh.
Fixes .flush, and also prompt(), on JVM.
  • Loading branch information
jnthn committed Oct 3, 2013
1 parent 93064b1 commit a8d9dc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/IO.pm
Expand Up @@ -314,7 +314,7 @@ my class IO::Handle does IO::FileTestable {
method flush() {
fail("File handle not open, so cannot flush")
unless nqp::defined($!PIO);
$!PIO.flush();
nqp::flushfh($!PIO);
True;
}

Expand Down
2 changes: 1 addition & 1 deletion tools/build/NQP_REVISION
@@ -1 +1 @@
2013.09-91-gd5f157f
2013.09-95-gff08120

0 comments on commit a8d9dc8

Please sign in to comment.