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 6E4F81F8C2 for ; Mon, 22 Dec 2014 01:31:12 +0000 (UTC) Resent-From: Eric Wong Resent-Date: Mon, 22 Dec 2014 01:31:12 +0000 Resent-Message-ID: <20141222013112.GB28082@dcvr.yhbt.net> Resent-To: dtas-all@80x24.org X-Original-To: normalperson@yhbt.net Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0A616633805; Mon, 8 Dec 2014 06:59:46 +0000 (UTC) Date: Mon, 8 Dec 2014 06:59:45 +0000 From: Eric Wong To: dtas-all@nongnu.org Subject: [PATCH 2/1] process: update comment for bug workaround #2 Message-ID: <20141208065945.GA18088@dcvr.yhbt.net> References: <1418021583-16182-1-git-send-email-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1418021583-16182-1-git-send-email-e@80x24.org> List-Id: 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