diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-29 00:30:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-05-29 00:30:02 +0000 |
commit | 82f2e90d07ff9b576e010f0cf91d066cfb5d389a (patch) | |
tree | fb03d019e0fafe056798ab21bb17ef8b1b783b9d /enum.c | |
parent | f0371f2f28b0a0138bf7d56efdc481f4627afe00 (diff) | |
download | ruby-82f2e90d07ff9b576e010f0cf91d066cfb5d389a.tar.gz |
* enum.c (collect_all): checks interrupts. [ruby-core:23594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enum.c')
-rw-r--r-- | enum.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -362,6 +362,7 @@ collect_i(VALUE i, VALUE ary, int argc, VALUE *argv) static VALUE collect_all(VALUE i, VALUE ary, int argc, VALUE *argv) { + rb_thread_check_ints(); rb_ary_push(ary, enum_values_pack(argc, argv)); return Qnil; |