summaryrefslogtreecommitdiff
path: root/enum.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-29 00:30:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-05-29 00:30:02 +0000
commit82f2e90d07ff9b576e010f0cf91d066cfb5d389a (patch)
treefb03d019e0fafe056798ab21bb17ef8b1b783b9d /enum.c
parentf0371f2f28b0a0138bf7d56efdc481f4627afe00 (diff)
* 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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/enum.c b/enum.c
index 938e3c3e5e..1235d3eb78 100644
--- a/enum.c
+++ b/enum.c
@@ -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;