dir.c (dir_s_glob): RB_GC_GUARD instead of volatile

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/net/ftp/test_ftp.rb: remove unused variables.
  test/logger/test_logger.rb: ditto.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/pathname/test_pathname.rb: use File.exist? instead of File.exists?

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_securerandom.rb: use File.exist? instead of File.exists?

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby.h: use FIX2LONG

* include/ruby/ruby.h (RBIGNUM_SIGN): use FIX2LONG() instead of
  FIX2INT() for optimization, since rb_big_cmp() returns only
  Fixnum -1..+1 for Finxum 0.

  (RBIGNUM_POSITIVE_P, RBIGNUM_NEGATIVE_P): ditto.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
bigdecimal.c: refine macros

* ext/bigdecimal/bigdecimal.c (PUSH, SAVE): remove extra
  semicolons.

* ext/bigdecimal/bigdecimal.c (GUARD_OBJ): add parentheses and
  make an expression instead of a statement.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ext/psych/yaml: suppress warnings

* ext/psych/yaml/emitter.c (WRITE_BREAK, PUT_BREAK): suppress
  unused-value warnings.

* ext/psych/yaml/parser.c, ext/psych/yaml/scanner.c: suppress
  unused-but-set-variable warnings.

* ext/psych/yaml/yaml_private.h (STACK_EMPTY): ditto.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
add tests.


git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/bigdecimal/bigdecimal.c (BigDecimal_initialize): Insert GC guard.

* ext/bigdecimal/bigdecimal.c (BigDecimal_global_new): ditto.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-02-17

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_find.rb: remove unused variables.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/test_pty.rb: use underscore variables. because ignored unseued variables.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: introduce new environment variable
  "RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR" to control major/minor GC
  frequency.
  Do full GC when the number of old objects is more than R * N
  where R is this factor and
                N is the number of old objects just after last full GC.
* test/ruby/test_gc.rb: add a test.



git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (get_envparam_double): fix a warning message.



git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/keywords.rdoc: [DOC] Add keywords doc by documenting-ruby/ruby#29
  https://github.com/documenting-ruby/ruby/pull/29 [ci skip]


git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
marshal.c: do not recycle wrapper objects

* marshal.c (marshal_dump, marshal_load): do not recycle wrapper
  objects, to prevent from segfault with continuation.
  [ruby-dev:47970] [Bug #9523]

git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: Move BDIGIT and related definitions from
  include/ruby/defines.h.



git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@45027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_gc.rb: ignore warning messages for running with -w
  option such as chkbuild.



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