On Fri, 2011-04-15 at 18:09 +0300, Eli Zaretskii wrote: > > But yes, any feature > > which consumes additional resources increases the risk of running out > > of that resource. I don't know that recursion comes into it though, > > Each sub-Make inherits all the file descriptors of all its parents, > grandparents, etc. If a sub-Make was launched when 4 other jobs were > running in parallel, the sub-Make will inherit 8 file descriptors that > it won't use. The deeper the recursion, the more inherited > descriptors.
We will just set them to be close-on-exec, except the dup'd versions for stdout/stderr. I'm pretty sure we already do that in some situations. We really don't want them inherited by sub-makes and other jobs anyway: that would be bad. Some commands don't like it. _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make