Martin Koeppe wrote:
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.
Might be worth checking with the Cygwin folks, but this sounds like it
would be useful in Cygwin also. (IIRC, this problem is why I dropped SUA
for Cygwin in the first place, i.e. in SUA the problem was much worse.)
Eric, are you watching this? :-)
--
Matthew
"Non sequitor. Your facts are out of order." -- Nomad