diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-15 16:51:34 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-03-15 16:51:34 +0000 |
commit | 0129fc8f58db1403dd987d2adecb35da85de2af3 (patch) | |
tree | 840109cac0f256d9060c83b9d49b6be40cca26db /compile.c | |
parent | 01b46043e427f3d78918ba2e110162dbf7108fbb (diff) |
Revert r62617 "compile.c: fix load_from_binary"
It breaks Solaris:
http://rubyci.s3.amazonaws.com/unstable11s/ruby-trunk/log/20180301T012502Z.diff.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -8773,8 +8773,7 @@ ibf_load_iseq_each(const struct ibf_load *load, rb_iseq_t *iseq, ibf_offset_t of rb_raise(rb_eRuntimeError, "path object size mismatch"); } path = rb_fstring(RARRAY_AREF(pathobj, 0)); - realpath = RARRAY_AREF(pathobj, 1); - if (!NIL_P(realpath)) realpath = rb_fstring(realpath); + realpath = rb_fstring(RARRAY_AREF(pathobj, 1)); } else { rb_raise(rb_eRuntimeError, "unexpected path object"); |