From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, T_RP_MATCHES_RCVD,URIBL_BLOCKED shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: dtas-all@80x24.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id B72F01F8C2 for ; Mon, 22 Dec 2014 01:31:09 +0000 (UTC) Resent-From: Eric Wong Resent-Date: Mon, 22 Dec 2014 01:31:09 +0000 Resent-Message-ID: <20141222013109.GA28082@dcvr.yhbt.net> Resent-To: dtas-all@80x24.org X-Original-To: e@80x24.org Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id E72AF633805; Mon, 8 Dec 2014 06:53:05 +0000 (UTC) From: Eric Wong To: Cc: Eric Wong Subject: [PATCH] process: update comment for bug workaround Date: Mon, 8 Dec 2014 06:53:03 +0000 Message-Id: <1418021583-16182-1-git-send-email-e@80x24.org> X-Mailer: git-send-email 2.2.0.1.gd179e21 List-Id: 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 retry end warn [ :spawn, pid, cmd ].inspect if $DEBUG -- EW