bug-bash
[Top][All Lists]
Advanced

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

bash should retry a fork() returning EAGAIN


From: Martin Koeppe
Subject: bash should retry a fork() returning EAGAIN
Date: Mon, 17 Sep 2007 11:56:39 +0200 (CEST)


Hi all,

I'm using bash 3.1 on interix. There fork() may fail with EAGAIN if e.g. several builds (configures) are running in parallel. Unfortunately, fork() isn't retried and configure stops.

So I suggest adding this patch to bash which retries fork() when it fails with EAGAIN. Idea is from pdksh. At least 3.2 doesn't have such a patch, I didn't look though all the patches after 3.2, however.

Martin

Attachment: bashfork.diff
Description: Text document


reply via email to

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