Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions truffle/src/main/ruby/core/process.rb
Original file line number Diff line number Diff line change
@@ -355,6 +355,7 @@ def self.getpriority(kind, id)
id = Rubinius::Type.coerce_to id, Integer, :to_int

Truffle::POSIX.errno = 0
Errno.handle # Make sure the reset above worked
ret = Truffle::POSIX.getpriority(kind, id)
Errno.handle
ret

0 comments on commit 2748a1c

Please sign in to comment.