From 018837b84f26adf1dd43ff0f41b211a41f5289e8 Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 27 Oct 2004 09:29:26 +0000 Subject: * node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers. [ruby-talk:117841] * ruby.h (FL_ABLE): nodes are not subject for flag operations. * io.c (ARGF_FORWARD): should have specified argv explicitly, since we no longer have frame->argv saved. [ruby-dev:24602] * string.c (RESIZE_CAPA): check string attribute before modifying capacity member of string structure. [ruby-dev:24594] * ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain performance. [ruby-talk:117701] * sprintf.c (rb_f_sprintf): raise ArgumentError for extra arguments, unless (digit)$ style used. * io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in interpreter termination. [ruby-dev:24579] * eval.c (frame_free): Guy Decoux solved the leak problem. Thanks. [ruby-core:03549] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'object.c') diff --git a/object.c b/object.c index ed88097242..24536d446a 100644 --- a/object.c +++ b/object.c @@ -1092,7 +1092,6 @@ rb_obj_pattern_match(obj1, obj2) /* * call-seq: * sym.to_i => fixnum - * sym.to_int => fixnum * * Returns an integer that is unique for each symbol within a * particular execution of a program. @@ -2631,7 +2630,6 @@ Init_Object() rb_undef_method(CLASS_OF(rb_cSymbol), "new"); rb_define_method(rb_cSymbol, "to_i", sym_to_i, 0); - rb_define_method(rb_cSymbol, "to_int", sym_to_i, 0); rb_define_method(rb_cSymbol, "inspect", sym_inspect, 0); rb_define_method(rb_cSymbol, "to_s", sym_to_s, 0); rb_define_method(rb_cSymbol, "id2name", sym_to_s, 0); -- cgit v1.2.3