Commit 3006aa68 by Devang Patel

Remove extra bits from my previous commit.

I am sorry for the way I handled this -gused commit.

From-SVN: r68587
parent 2e8a523f
...@@ -4590,20 +4590,6 @@ general_init (char *argv0) ...@@ -4590,20 +4590,6 @@ general_init (char *argv0)
init_stringpool (); init_stringpool ();
init_ttree (); init_ttree ();
/* APPLE LOCAL setrlimit */
#ifdef RLIMIT_STACK
/* Get rid of any avoidable limit on stack size. */
{
struct rlimit rlim;
/* Set the stack limit huge. (Compiles normally work within
a megabyte of stack, but the normal limit on OSX is 512K for
some reason.) */
getrlimit (RLIMIT_STACK, &rlim);
rlim.rlim_cur = rlim.rlim_max;
setrlimit (RLIMIT_STACK, &rlim);
}
#endif /* RLIMIT_STACK defined */
} }
/* Parse command line options and set default flag values, called /* Parse command line options and set default flag values, called
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment