* eval.c (rb_eval): too many line trace call. (ruby-bugs PR#1320)

* numeric.c (flo_to_s): tweak output string based to preserve
  decimal point and to remove trailing zeros.  [ruby-talk:97891]

* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
  search.  [ruby-talk:97342]

* hash.c (rb_hash_equal): returns true if two hashes have same set
  of key-value set.  [ruby-talk:97559]

* hash.c (rb_hash_eql): returns true if two hashes are equal and
  have same default values.

* string.c (rb_str_equal): always returns true or false, never
  returns nil. [ruby-dev:23404]

* io.c (rb_io_reopen): should use rb_io_check_io().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2004-05-07 08:48:30 +00:00
parent 4d372569d8
commit 2b5a14bf7c
17 changed files with 147 additions and 77 deletions

View file

@ -557,7 +557,7 @@ class CSV
private
def initialize(dev)
raise RuntimeError.new('do not instanciate this class directly')
raise RuntimeError.new('do not instantiate this class directly')
end
def get_row(row)
@ -709,7 +709,7 @@ class CSV
private
def initialize(dev)
raise RuntimeError.new('do not instanciate this class directly')
raise RuntimeError.new('do not instantiate this class directly')
end
def terminate
@ -801,7 +801,7 @@ class CSV
# end
# end
#
class StreamBuf # pure virtual. (do not instanciate it directly)
class StreamBuf # pure virtual. (do not instantiate it directly)
# get a char or a partial string from the stream.
# idx: index of a string to specify a start point of a string to get.
@ -893,7 +893,7 @@ class CSV
return idx_is_eos?(0)
end
# WARN: Do not instanciate this class directly. Define your own class
# WARN: Do not instantiate this class directly. Define your own class
# which derives this class and define 'read' instance method.
def initialize
@buf_list = []