* bootstraptest/test_io.rb: Add etc.so to $" before require 'tmpdir'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/fileutils.rb (fu_get_uid, fu_get_gid): Etc.getpwnam/getgrnam may
  returns nil.

* lib/webrick/utils.rb (su): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: correct pthread_setname_np's prototype on NetBSD.
  [Bug #9586]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in: NetBSD's ksh, used by configure, needs escapes.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
configure.in: refine __builtin_unreachable check

* configure.in (rb_cv_func___builtin_unreachable): try with an
  external variable not only by a warning, which might not be
  shown due to the optimization.  [ruby-core:61647] [Bug #9665]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mkmf.rb: workaround for tmpdir

* lib/mkmf.rb (try_link0): workaround for miniruby as 'tmpdir.rb'
  always requires 'etc.so' now.

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

* node.c (dump_node): adjust indent to "ruby-style.el".

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/webrick/utils.rb: Don't rescue LoadError for 'etc' extension.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
  ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
  directory is not an empty directory, rmdir() shall fail and set
  errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST.
  [Bug #9571] [ruby-dev:48017]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_process.rb (test_rlimit_nofile): Don't limit
  RLIMIT_NOFILE too small.
  This fix sporadic "[ASYNC BUG] thread_timer: select" on GNU/Linux.



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

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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
compile.c: non-destructive keyword splat

* compile.c (compile_array_): make copy a first hash not to modify
  the argument itself.  keyword splat should be non-destructive.
  [ruby-core:62161] [Bug #9776]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.
  Contribute from @igaiga. [fix GH-598]

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

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
	* ext/date/date_strptime.c (date__strptime_internal): do not overwrite century.


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


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: Fix typos. These are undefined variables.

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