From a4934a42cbb84b6679912226581c71b435671f55 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 4 Nov 2003 09:13:57 +0000 Subject: * io.c (read_all): fptr->f may be NULL, if IO is closed in the signal handler. * io.c (io_read): ditto. * string.c (get_pat): remove 1.8.0 warning code. * string.c (rb_str_match): extend warning until 1.8.2. * string.c (rb_str_match2): ditto. * class.c (class_instance_method_list): remove 1.8.0 warnings. method_list now recurs. [ruby-dev:21816] * class.c (rb_obj_singleton_methods): ditto. * array.c (rb_ary_select): remove select with block. [ruby-dev:21824] * hash.c (rb_hash_select): ditto. * hash.c (env_select): ditto. * re.c (match_select): ditto. * struct.c (rb_struct_select): ditto. * process.c (check_uid_switch): remove duplicated error messages. * process.c (check_gid_switch): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- class.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'class.c') diff --git a/class.c b/class.c index f137e698b6..8132f8c5ca 100644 --- a/class.c +++ b/class.c @@ -539,12 +539,7 @@ class_instance_method_list(argc, argv, mod, func) st_table *list; if (argc == 0) { -#if RUBY_VERSION_CODE < 181 - rb_warn("%s: parameter will default to 'true' as of 1.8.1", rb_id2name(rb_frame_last_func())); - recur = Qfalse; -#else recur = Qtrue; -#endif } else { VALUE r; @@ -613,11 +608,7 @@ rb_obj_singleton_methods(argc, argv, obj) rb_scan_args(argc, argv, "01", &recur); if (argc == 0) { -#if RUBY_VERSION_CODE < 181 - rb_warn("singleton_methods: parameter will default to 'true' as of 1.8.1"); -#else recur = Qtrue; -#endif } klass = CLASS_OF(obj); list = st_init_numtable(); -- cgit v1.2.1