diff options
author | Jack Lloyd <[email protected]> | 2015-08-24 07:46:51 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-08-24 07:46:51 -0400 |
commit | ce849c364c29ce020369685ce8d221f8e67cf538 (patch) | |
tree | 019731a15df0d7f09fbd567254bd5e9e5a1affd8 /src/tests/test_bigint.cpp | |
parent | 97b6e192e752fe8a0fd95116a84d7b29d8ed71f5 (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