Skip to content

Commit

Permalink
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion spec/truffle/tags/core/io/closed_tags.txt

This file was deleted.

Original file line number Diff line number Diff line change
@@ -286,12 +286,12 @@ public int close(VirtualFrame frame, RubyBasicObject io) {
return 0;
}

rubyWithSelf(frame, io, "@descriptor = -1");

if (fd < 3) {
return 0;
}

rubyWithSelf(frame, io, "@descriptor = -1");

final int result = posix().close(fd);

// TODO BJF 13-May-2015 Implement more error handling from Rubinius

0 comments on commit 5a87b02

Please sign in to comment.