* include/ruby/ruby.h: add old macro name `RUBY_EVENT_SWITCH'.
  This macro name is obsolete because it is renamed to
  RUBY_INTERNAL_EVENT_SWITCH, but it has compatibility problem
  using this macro name like ruby-prof.
  I want to remove this macro after ruby 2.1.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* include/ruby/ruby.h: define USE_RGENGC_LOGGING_WB_UNPROTECT.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c (rb_str_format_m): use RARRAY_RAWPTR() instead of
  RARRAY_PTR() because there is no new reference.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (rb_threadptr_pending_interrupt_check_mask):
  use RARRAY_RAWPTR() instead of RARRAY_PTR() because
  there is no new reference.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* time.c (time_overflow_p): Avoid signed integer overflow.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Fix the previous commit.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* time.c (time_overflow_p): Avoid signed integer overflow.
  (rb_time_new): Fix overflow condition.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix typos

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
object.c: Module#singleton_class?

* object.c (rb_mod_singleton_p): new method Module#singleton_class? to
  return whether the receiver is a singleton class or not.
  [ruby-core:51087] [Feature #7609]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
enumerator.c: fix non-single argument

* enumerator.c (lazy_zip_func): fix non-single argument.  fix
  out-of-bound access and pack multiple yielded values.
  [ruby-core:56383] [Bug #8735]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2013-08-09

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
file.c: using CFString

* file.c (rb_str_normalize_ospath): normalize using CFString.