aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_bigint.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-08-24 07:46:51 -0400
committerJack Lloyd <[email protected]>2015-08-24 07:46:51 -0400
commitce849c364c29ce020369685ce8d221f8e67cf538 (patch)
tree019731a15df0d7f09fbd567254bd5e9e5a1affd8 /src/tests/test_bigint.cpp
parent97b6e192e752fe8a0fd95116a84d7b29d8ed71f5 (diff)
Guard rlimit reset with a defined check for RLIMIT_MEMLOCK as it is
missing on Solaris at least. On such systems it's probably safe to assume that no amount of memory can be mlock'ed from userspace, so just return zero to disable the allocator entirely. GH #262
Diffstat (limited to 'src/tests/test_bigint.cpp')
0 files changed, 0 insertions, 0 deletions