refix r42525 set stdio_file only if stdio

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
fix r42527 again; [Bug #8760] [ruby-dev:47608] [ruby-dev:47609]

Remove check rl_instream != ifp->stdio_file.
rl_instream is made from duped fd and we cannnot compare.
This fix seems still buggy when rl_instream is manually changed from
other extension libraries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/yaml.rb, lib/yaml/: [DOC] Document YAML::DBM#key and add
  references to similar methods with more detail. This patch brings
  lib/yaml to 100% documentation coverage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dbm/dbm.c: [DOC] Reformat headings of DBM class


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/dbm/extconf.rb: [DOC] Hide from RDoc
  Some libraries might want to document extconf.rb so RDoc treats it
  like any other ruby program. However, DBM users shouldn't care about
  these methods.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBM


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* process.c: [DOC] RDoc formatting of Process.clock_gettime


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* class.c (rb_prepend_module): make T_ICLASS object shady because
  this T_ICLASS object seems to share method table with other class
  objects. It was causes WB miss.
  TODO: need to know the data structure.
* test/ruby/test_module.rb: add a test for WB miss.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
parse.y: CR in middle

* parse.y (parser_whole_match_p): treat CR in middle of a line as a
  mere whitespace.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
	* gc.c (gc_marks_test): inhibit gc for st's operation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* doc/syntax/literals.rdoc: [DOC] String literal concat by @cknadler
  [Fixes GH-380] https://github.com/ruby/ruby/pull/380


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

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

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
object.c: undef Module#prepend_features on Class

* object.c (Init_Object): undef Module#prepend_features on Class, as
  well as Module#append_features.  [Fixes GH-376]
* test_class.rb: Added test for above. And ensure type checking
  on similar methods as module_function.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
random.c: coerce before check negative

* random.c (rb_random_ulong_limited): coerce before check negative.
  [Fixes GH-379]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (bigdivrem_restoring): Extracted from bigdivrem_normal.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (big_div_struct): ynzero field removed.
  (bigdivrem1): Follow the above change.
  (bigdivrem_restoring): Ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c (big_div_struct): Remove xn and j field.  Add zn field. 
  (bigdivrem1): Follow the above change.
  (bigdivrem_restoring): Ditto.



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

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