clone 696222 -1 retitle 696222 make: reset stack size when spawning commands tags 696222 + upstream severity 696222 wishlist retitle -1 make: "Command not found" on some shell builtins severity -1 important quit
Hi, gokcehan wrote: > when I run `make` I get: > > ulimit -s # > unlimited > > 1c. what I expect > > I should get `8192` instead of `unlimited` as it is the value I get when I > run `ulimit -s` from a regular shell. This is a longstanding behavior, from the upstream code[1]: /* Set the stack limit huge so that alloca does not fail. */ I agree that it would make sense to reset the stack limit when running outside commands. [1] http://cvs.savannah.gnu.org/viewvc/make/main.c?root=make&r1=1.195&r2=1.196 [...] > ulimit -s > make: ulimit: Command not found > make: *** [all] Error 127 Yep, this is a bug, too. "ulimit" isn't in make's list of built-in commands to run through the shell. Cloning. Thanks for a pleasant report. Regards, Jonathan -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

