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
(cherry picked from commit 99c60d725c
)
This commit is contained in:
parent
1a1d2a3394
commit
0b02ae84e6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user