Skip to content

Commit

Permalink
[Truffle] IO shims not needed any more.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Apr 23, 2015
1 parent 944c751 commit 47307e2
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions truffle/src/main/ruby/core/shims.rb
Expand Up @@ -127,21 +127,6 @@ def [](index)
end
end

class IO
RDONLY = 0
WRONLY = 1
RDWR = 2

CREAT = 512
EXCL = 2048
NOCTTY = 131072
TRUNC = 1024
APPEND = 8
NONBLOCK = 4
SYNC = 128
SEEK_SET = 0
end

# We use Rubinius's encoding subsystem for the most part, but we need to keep JRuby's up to date in case we
# delegate to any of their methods. Otherwise, they won't see the updated encoding and return incorrect results.
class Encoding
Expand Down

0 comments on commit 47307e2

Please sign in to comment.