dtas-all
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 2/1] process: update comment for bug workaround #2


From: Eric Wong
Subject: [PATCH 2/1] process: update comment for bug workaround #2
Date: Mon, 8 Dec 2014 06:59:45 +0000

Followup to commit 698e1f04580839ea29647f285b39b88fcbb46071
"process: update comment for bug workaround"
---
 lib/dtas/process.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/dtas/process.rb b/lib/dtas/process.rb
index 020737d..c0ce9a3 100644
--- a/lib/dtas/process.rb
+++ b/lib/dtas/process.rb
@@ -78,7 +78,8 @@ module DTAS::Process # :nodoc:
     env = env_expand(env, opts)
     pid = begin
       Process.spawn(env, *cmd, opts)
-    rescue Errno::EINTR # Ruby bug?
+    rescue Errno::EINTR
+      # workaround for older Rubies https://bugs.ruby-lang.org/issues/8770
       retry
     end
     w.close
-- 
EW



reply via email to

[Prev in Thread] Current Thread [Next in Thread]