Project

General

Profile

Actions

Bug #8770

closed

[PATCH] process.c: avoid EINTR from Process.spawn

Added by normalperson (Eric Wong) over 11 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
ruby -v:
44687,44706,44727
Backport:
[ruby-core:56524]

Description

(send_child_error): retry write on EINTR
(recv_child_error): retry read on EINTR

I've been getting occasional Errno::EINTR from Process.spawn with
just the prog name in the error message. This is probably the cause
of it, as I haven't been able to get a consistent reproduction of
the Errno::EINTR.

I've been hitting this on 2.0.0-p247, so it probably needs backport.


Files

0001-process.c-avoid-EINTR-from-Process.spawn.patch (3.18 KB) 0001-process.c-avoid-EINTR-from-Process.spawn.patch avoid EINTR from Process.spawn normalperson (Eric Wong), 08/11/2013 11:39 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0