It fixes a crash on OpenBSD

It fixes a crash in the installation on OpenBSD. Racket reaches the
limits of the shell when it is compiled with a non-root user account.

Tested on OpenBSD-current amd64.

Merge to v5.3.2
This commit is contained in:
Juan Francisco Cantero Hurtado 2013-01-10 01:23:20 +01:00 committed by Matthew Flatt
parent 0f6a5833fc
commit 99c60d725c

View File

@ -297,6 +297,10 @@
# define SCHEME_PLATFORM_LIBRARY_SUBPATH "i386-openbsd"
# endif
/* Same reason as for FreeBSD? */
# define ASSUME_FIXED_STACK_SIZE
# define FIXED_STACK_SIZE 1048576
# include "uconfig.h"
# undef HAS_STANDARD_IOB
@ -360,7 +364,7 @@
# error Unported platform.
# endif
/* pthreads always enabled via configure', and
/* pthreads always enabled via `configure', and
initial pthread's stack size doesn't use rlimit: */
# define ASSUME_FIXED_STACK_SIZE
# define FIXED_STACK_SIZE 1048576
@ -1015,7 +1019,7 @@
# error Unported platform.
# endif
/* pthreads always enabled via configure', and
/* pthreads always enabled via `configure', and
initial pthread's stack size doesn't use rlimit: */
# define ASSUME_FIXED_STACK_SIZE
# define FIXED_STACK_SIZE 1048576