Source
xxxxxxxxxx
--- Source/JavaScriptCore/offlineasm/offsets.rb.orig 2012-11-23 14:12:16.000000000 -0600
+++ Source/JavaScriptCore/offlineasm/offsets.rb 2013-01-22 19:35:47.000000000 -0600
File.open(file, "r") {
| inp |
loop {
- byte = inp.getbyte
+ if RUBY_VERSION >= '1.8.7'
+ byte = inp.getbyte
+ else
+ byte = inp.getc
+ end
break unless byte
fileBytes << byte
}