ruby-changes:51914
From: usa <ko1@a...>
Date: Mon, 30 Jul 2018 23:06:59 +0900 (JST)
Subject: [ruby-changes:51914] usa:r64128 (ruby_2_4): merge revision(s) 63698: [Backport #14856]
usa 2018-07-30 23:06:52 +0900 (Mon, 30 Jul 2018) New Revision: 64128 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64128 Log: merge revision(s) 63698: [Backport #14856] lib/drb/extservm.rb (service): do not return `false' invoke_service_command may set entries in @servers to `false', making it incompatible with the intended use of the safe navigation operator. This caused occasional DRb test failures, but they were hidden with automatic retry. [ruby-core:87524] [Bug #14856] Fixes: r53111 ("use safe navigation operator") commit 059c9c1cf371e049c7481c78b76e9620da52757f [GH-1142] Modified directories: branches/ruby_2_4/ Modified files: branches/ruby_2_4/lib/drb/extservm.rb branches/ruby_2_4/version.h Index: ruby_2_4/lib/drb/extservm.rb =================================================================== --- ruby_2_4/lib/drb/extservm.rb (revision 64127) +++ ruby_2_4/lib/drb/extservm.rb (revision 64128) @@ -38,7 +38,7 @@ module DRb https://github.com/ruby/ruby/blob/trunk/ruby_2_4/lib/drb/extservm.rb#L38 synchronize do while true server = @servers[name] - return server if server&.alive? + return server if server && server.alive? # server may be `false' invoke_service(name) @cond.wait end Index: ruby_2_4/version.h =================================================================== --- ruby_2_4/version.h (revision 64127) +++ ruby_2_4/version.h (revision 64128) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_4/version.h#L1 #define RUBY_VERSION "2.4.5" #define RUBY_RELEASE_DATE "2018-07-30" -#define RUBY_PATCHLEVEL 308 +#define RUBY_PATCHLEVEL 309 #define RUBY_RELEASE_YEAR 2018 #define RUBY_RELEASE_MONTH 7 Index: ruby_2_4 =================================================================== --- ruby_2_4 (revision 64127) +++ ruby_2_4 (revision 64128) Property changes on: ruby_2_4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /trunk:r63698 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/