diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 14:05:44 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-08 14:05:44 +0000 |
commit | 23124ffbe845b9e8bec665159c584f09c7dc4491 (patch) | |
tree | fac32223af4c920efe6c257dad8734a1c1b06933 | |
parent | 99c89fa56afe59b5755f0028dffa2cb9c9cff9f3 (diff) | |
download | ruby-23124ffbe845b9e8bec665159c584f09c7dc4491.tar.gz |
* iseq.c (iseq_s_load): fix mysterious bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | iseq.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Dec 8 23:04:02 2015 Koichi Sasada <ko1@atdot.net> + + * iseq.c (iseq_s_load): fix mysterious bug. + Tue Dec 8 22:31:58 2015 Koichi Sasada <ko1@atdot.net> * introduce new ISeq binary format serializer/de-serializer @@ -587,7 +587,7 @@ static VALUE iseq_s_load(int argc, VALUE *argv, VALUE self) { VALUE data, opt=Qnil; - rb_scan_args(argc, argv, "01", &opt); + rb_scan_args(argc, argv, "11", &data, &opt); return iseq_load(data, NULL, opt); } |