[前][次][番号順一覧][スレッド一覧]

ruby-changes:46091

From: nagachika <ko1@a...>
Date: Tue, 28 Mar 2017 00:38:57 +0900 (JST)
Subject: [ruby-changes:46091] nagachika:r58162 (ruby_2_3): merge revision(s) 56310: [Backport #13364]

nagachika	2017-03-28 00:38:52 +0900 (Tue, 28 Mar 2017)

  New Revision: 58162

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58162

  Log:
    merge revision(s) 56310: [Backport #13364]
    
    * win32/win32.c (poll_child_status): rb_w32_wait_events_blocking() sets
      errno internally, then should not set it here.

  Modified directories:
    branches/ruby_2_3/
  Modified files:
    branches/ruby_2_3/ChangeLog
    branches/ruby_2_3/version.h
    branches/ruby_2_3/win32/win32.c
Index: ruby_2_3/version.h
===================================================================
--- ruby_2_3/version.h	(revision 58161)
+++ ruby_2_3/version.h	(revision 58162)
@@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/version.h#L1
 #define RUBY_VERSION "2.3.3"
 #define RUBY_RELEASE_DATE "2017-03-28"
-#define RUBY_PATCHLEVEL 271
+#define RUBY_PATCHLEVEL 272
 
 #define RUBY_RELEASE_YEAR 2017
 #define RUBY_RELEASE_MONTH 3
Index: ruby_2_3/win32/win32.c
===================================================================
--- ruby_2_3/win32/win32.c	(revision 58161)
+++ ruby_2_3/win32/win32.c	(revision 58162)
@@ -4264,7 +4264,6 @@ poll_child_status(struct ChildRecord *ch https://github.com/ruby/ruby/blob/trunk/ruby_2_3/win32/win32.c#L4264
 
     if (!GetExitCodeProcess(child->hProcess, &exitcode)) {
 	/* If an error occurred, return immediately. */
-    error_exit:
 	err = GetLastError();
 	switch (err) {
 	  case ERROR_INVALID_PARAMETER:
@@ -4277,6 +4276,7 @@ poll_child_status(struct ChildRecord *ch https://github.com/ruby/ruby/blob/trunk/ruby_2_3/win32/win32.c#L4276
 	    errno = map_errno(err);
 	    break;
 	}
+    error_exit:
 	CloseChildHandle(child);
 	return -1;
     }
Index: ruby_2_3/ChangeLog
===================================================================
--- ruby_2_3/ChangeLog	(revision 58161)
+++ ruby_2_3/ChangeLog	(revision 58162)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_3/ChangeLog#L1
+Tue Mar 28 00:38:39 2017  NAKAMURA Usaku  <usa@r...>
+
+	* win32/win32.c (poll_child_status): rb_w32_wait_events_blocking() sets
+	  errno internally, then should not set it here.
+
 Mon Mar 27 20:15:17 2017  Kazuki Tsujimoto  <kazuki@c...>
 
 	* eval.c, method.h, proc.c, vm.c, vm_eval.c, vm_insnhelper.c, vm_method.c:

Property changes on: ruby_2_3
___________________________________________________________________
Modified: svn:mergeinfo
   Merged /trunk:r56310


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]