[Top][All Lists]

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

[PATCH] process: update comment for bug workaround

From: Eric Wong
Subject: [PATCH] process: update comment for bug workaround
Date: Mon, 8 Dec 2014 06:53:03 +0000

We're certain this is a workaround for a bug.  We may remove the
workaround at some point in the future; but not until the rest of
the world has had a chance to upgrade, too.
 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 d70e6e5..020737d 100644
--- a/lib/dtas/process.rb
+++ b/lib/dtas/process.rb
@@ -49,7 +49,8 @@ module DTAS::Process # :nodoc:
     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
     warn [ :spawn, pid, cmd ].inspect if $DEBUG

reply via email to

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