diff options
Diffstat (limited to 'array.c')
-rw-r--r-- | array.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,6 +11,7 @@ ************************************************/ #include "ruby.h" +#include "util.h" VALUE rb_cArray; @@ -44,7 +45,6 @@ static void rb_ary_modify(ary) VALUE ary; { - rb_secure(5); if (FL_TEST(ary, ARY_FREEZE|ARY_TMPLOCK)) { rb_raise(rb_eTypeError, "can't modify frozen array"); } |