summaryrefslogtreecommitdiffstats
path: root/parser.y
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-07-04 11:02:06 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-07-04 11:02:06 -0700
commitebca89d000e512851b4f06e5f478635ee70b3f19 (patch)
tree1358002795eb073be5a5493d2ee5200a6dbfa590 /parser.y
parent9d8a89af69dfa46c7b74c2ffe049a5deddd67274 (diff)
downloadtxr-ebca89d000e512851b4f06e5f478635ee70b3f19.tar.gz
txr-ebca89d000e512851b4f06e5f478635ee70b3f19.tar.bz2
txr-ebca89d000e512851b4f06e5f478635ee70b3f19.zip
stack-limit: always set a stack limit.
Even if built without getrlimit, and even if getrlimit reports an unlimited stack size, set up a default limit. * gc.c (DFL_STACK_LIMIT): New preprocessor symbol, defined as 128 kilbytes for a small memory configuration, otherwise 16 megabytes. (gc_init): Set up a default stack limit unconditionally based on DFL_STACK_LIMIT before probing getrlimit.
Diffstat (limited to 'parser.y')
0 files changed, 0 insertions, 0 deletions